//============================================================================================
/**
 * @file	zkn2_bmp.c
 * @brief	金銀図鑑画面 ＢＭＰ関連
 * @author	Hiroyuki Nakamura
 * @date	08.08.26
 */
//============================================================================================
#include "common.h"

#include "system/numfont.h"
#include "poketool/poke_number.h"
#include "msgdata/msg_zkn.h"

#include "../../field/zonedata.h"

#include "application/zukanlist/zkn_world_text_sys.h"
#include "application/zukanlist/zkn_world_text_data.h"
#include "application/zukanlist/zkn_gira.h"

#include "zkn2_main.h"
#include "zkn2_bmp.h"
#include "zkn2_str.h"
#include "zkn2_list.h"
#include "zukan_gra.naix"


//============================================================================================
//	定数定義
//============================================================================================

// BMPWIN定義
// トップページ：「みつけた　かず」
#define	BMPWIN_TOP_SEE_FRM		( ZKN2_BGF_COVER_M )
#define	BMPWIN_TOP_SEE_PX		( 2 )
#define	BMPWIN_TOP_SEE_PY		( 9 )
#define	BMPWIN_TOP_SEE_SX		( 12 )
#define	BMPWIN_TOP_SEE_SY		( 2 )
#define	BMPWIN_TOP_SEE_PAL		( 9 )
#define	BMPWIN_TOP_SEE_CGX		( 1024 - BMPWIN_TOP_SEE_SX * BMPWIN_TOP_SEE_SY )
// トップページ：「つかまえた　かず」
#define	BMPWIN_TOP_GET_FRM		( ZKN2_BGF_COVER_M )
#define	BMPWIN_TOP_GET_PX		( 18 )
#define	BMPWIN_TOP_GET_PY		( 9 )
#define	BMPWIN_TOP_GET_SX		( 12 )
#define	BMPWIN_TOP_GET_SY		( 2 )
#define	BMPWIN_TOP_GET_PAL		( 9 )
#define	BMPWIN_TOP_GET_CGX		( BMPWIN_TOP_SEE_CGX - BMPWIN_TOP_GET_SX * BMPWIN_TOP_GET_SY )
// トップページ：発見数
#define	BMPWIN_TOP_SNUM_FRM		( ZKN2_BGF_COVER_M )
#define	BMPWIN_TOP_SNUM_PX		( 11 )
#define	BMPWIN_TOP_SNUM_PY		( 11 )
#define	BMPWIN_TOP_SNUM_SX		( 3 )
#define	BMPWIN_TOP_SNUM_SY		( 2 )
#define	BMPWIN_TOP_SNUM_PAL		( 9 )
#define	BMPWIN_TOP_SNUM1_CGX	( BMPWIN_TOP_GET_CGX - BMPWIN_TOP_SNUM_SX * BMPWIN_TOP_SNUM_SY )
#define	BMPWIN_TOP_SNUM2_CGX	( BMPWIN_TOP_SNUM1_CGX - BMPWIN_TOP_SNUM_SX * BMPWIN_TOP_SNUM_SY )
// トップページ：捕獲数
#define	BMPWIN_TOP_GNUM_FRM		( ZKN2_BGF_COVER_M )
#define	BMPWIN_TOP_GNUM_PX		( 27 )
#define	BMPWIN_TOP_GNUM_PY		( 11 )
#define	BMPWIN_TOP_GNUM_SX		( 3 )
#define	BMPWIN_TOP_GNUM_SY		( 2 )
#define	BMPWIN_TOP_GNUM_PAL		( 9 )
#define	BMPWIN_TOP_GNUM1_CGX	( BMPWIN_TOP_SNUM2_CGX - BMPWIN_TOP_GNUM_SX * BMPWIN_TOP_GNUM_SY )
#define	BMPWIN_TOP_GNUM2_CGX	( BMPWIN_TOP_GNUM1_CGX - BMPWIN_TOP_GNUM_SX * BMPWIN_TOP_GNUM_SY )
// リストページ：ポケモン名
#define	BMPWIN_LIST_POKE_FRM	( ZKN2_BGF_UPPER_M )
#define	BMPWIN_LIST_POKE_PX		( 10 )
#define	BMPWIN_LIST_POKE_PY		( 16 )
#define	BMPWIN_LIST_POKE_SX		( 11 )
#define	BMPWIN_LIST_POKE_SY		( 2 )
#define	BMPWIN_LIST_POKE_PAL	( 0 )
#define	BMPWIN_LIST_POKE_CGX	( 512 - BMPWIN_LIST_POKE_SX * BMPWIN_LIST_POKE_SY )

// リストページ：上画面・タイトル
#define	BMPWIN_LIST_U_TITLE_FRM		( ZKN2_BGF_UPPER_S )
#define	BMPWIN_LIST_U_TITLE_PX		( 2 )
#define	BMPWIN_LIST_U_TITLE_PY		( 0 )
#define	BMPWIN_LIST_U_TITLE_SX		( 8 )
#define	BMPWIN_LIST_U_TITLE_SY		( 2 )
#define	BMPWIN_LIST_U_TITLE_PAL		( 2 )
#define	BMPWIN_LIST_U_TITLE_CGX		( 1024 - BMPWIN_LIST_U_TITLE_SX * BMPWIN_LIST_U_TITLE_SY )
// リストページ：上画面・ポケモン番号
#define	BMPWIN_LIST_U_NUM_FRM		( ZKN2_BGF_UPPER_S )
#define	BMPWIN_LIST_U_NUM_PX		( 15 )
#define	BMPWIN_LIST_U_NUM_PY		( 3 )
#define	BMPWIN_LIST_U_NUM_SX		( 5 )
#define	BMPWIN_LIST_U_NUM_SY		( 2 )
#define	BMPWIN_LIST_U_NUM_PAL		( 0 )
#define	BMPWIN_LIST_U_NUM_CGX		( BMPWIN_LIST_U_TITLE_CGX - BMPWIN_LIST_U_NUM_SX * BMPWIN_LIST_U_NUM_SY )
// リストページ：上画面・ポケモン名
#define	BMPWIN_LIST_U_POKE_FRM		( ZKN2_BGF_UPPER_S )
#define	BMPWIN_LIST_U_POKE_PX		( 20 )
#define	BMPWIN_LIST_U_POKE_PY		( 3 )
#define	BMPWIN_LIST_U_POKE_SX		( 9 )
#define	BMPWIN_LIST_U_POKE_SY		( 2 )
#define	BMPWIN_LIST_U_POKE_PAL		( 0 )
#define	BMPWIN_LIST_U_POKE_CGX		( BMPWIN_LIST_U_NUM_CGX - BMPWIN_LIST_U_POKE_SX * BMPWIN_LIST_U_POKE_SY )
// リストページ：上画面・ポケモン種類
#define	BMPWIN_LIST_U_TYPE_FRM		( ZKN2_BGF_UPPER_S )
#define	BMPWIN_LIST_U_TYPE_PX		( 15 )
#define	BMPWIN_LIST_U_TYPE_PY		( 5 )
#define	BMPWIN_LIST_U_TYPE_SX		( 16 )
#define	BMPWIN_LIST_U_TYPE_SY		( 2 )
#define	BMPWIN_LIST_U_TYPE_PAL		( 0 )
#define	BMPWIN_LIST_U_TYPE_CGX		( BMPWIN_LIST_U_POKE_CGX - BMPWIN_LIST_U_TYPE_SX * BMPWIN_LIST_U_TYPE_SY )
// リストページ：上画面・説明
#define	BMPWIN_LIST_U_INFO_FRM		( ZKN2_BGF_UPPER_S )
#define	BMPWIN_LIST_U_INFO_PX		( 2 )
#define	BMPWIN_LIST_U_INFO_PY		( 17 )
#define	BMPWIN_LIST_U_INFO_SX		( 28 )
#define	BMPWIN_LIST_U_INFO_SY		( 6 )
#define	BMPWIN_LIST_U_INFO_PAL		( 1 )
#define	BMPWIN_LIST_U_INFO_CGX		( BMPWIN_LIST_U_TYPE_CGX - BMPWIN_LIST_U_INFO_SX * BMPWIN_LIST_U_INFO_SY )
// リストページ：上画面・高さ
#define	BMPWIN_LIST_U_HEIGHT_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_LIST_U_HEIGHT_PX		( 18 )
#define	BMPWIN_LIST_U_HEIGHT_PY		( 11 )
#define	BMPWIN_LIST_U_HEIGHT_SX		( 5 )
#define	BMPWIN_LIST_U_HEIGHT_SY		( 2 )
#define	BMPWIN_LIST_U_HEIGHT_PAL	( 1 )
#define	BMPWIN_LIST_U_HEIGHT_CGX	( BMPWIN_LIST_U_INFO_CGX - BMPWIN_LIST_U_HEIGHT_SX * BMPWIN_LIST_U_HEIGHT_SY )
// リストページ：上画面・高さの数値
#define	BMPWIN_LIST_U_H_NUM_FRM		( ZKN2_BGF_UPPER_S )
#define	BMPWIN_LIST_U_H_NUM_PX		( 23 )
#define	BMPWIN_LIST_U_H_NUM_PY		( 11 )
#define	BMPWIN_LIST_U_H_NUM_SX		( 8 )
#define	BMPWIN_LIST_U_H_NUM_SY		( 2 )
#define	BMPWIN_LIST_U_H_NUM_PAL		( 1 )
#define	BMPWIN_LIST_U_H_NUM_CGX		( BMPWIN_LIST_U_HEIGHT_CGX - BMPWIN_LIST_U_H_NUM_SX * BMPWIN_LIST_U_H_NUM_SY )
// リストページ：上画面・重さ
#define	BMPWIN_LIST_U_WEIGHT_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_LIST_U_WEIGHT_PX		( 18 )
#define	BMPWIN_LIST_U_WEIGHT_PY		( 13 )
#define	BMPWIN_LIST_U_WEIGHT_SX		( 5 )
#define	BMPWIN_LIST_U_WEIGHT_SY		( 2 )
#define	BMPWIN_LIST_U_WEIGHT_PAL	( 1 )
#define	BMPWIN_LIST_U_WEIGHT_CGX	( BMPWIN_LIST_U_H_NUM_CGX - BMPWIN_LIST_U_WEIGHT_SX * BMPWIN_LIST_U_WEIGHT_SY )
// リストページ：上画面・重さの数値
#define	BMPWIN_LIST_U_W_NUM_FRM		( ZKN2_BGF_UPPER_S )
#define	BMPWIN_LIST_U_W_NUM_PX		( 23 )
#define	BMPWIN_LIST_U_W_NUM_PY		( 13 )
#define	BMPWIN_LIST_U_W_NUM_SX		( 8 )
#define	BMPWIN_LIST_U_W_NUM_SY		( 2 )
#define	BMPWIN_LIST_U_W_NUM_PAL		( 1 )
#define	BMPWIN_LIST_U_W_NUM_CGX		( BMPWIN_LIST_U_WEIGHT_CGX - BMPWIN_LIST_U_W_NUM_SX * BMPWIN_LIST_U_W_NUM_SY )
// リストページ：上画面・外国語タイトル
#define	BMPWIN_LIST_U_LANG_L_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_LIST_U_LANG_L_PX		( 16 )
#define	BMPWIN_LIST_U_LANG_L_PY		( 8 )
#define	BMPWIN_LIST_U_LANG_L_SX		( 14 )
#define	BMPWIN_LIST_U_LANG_L_SY		( 2 )
#define	BMPWIN_LIST_U_LANG_L_PAL	( 1 )
#define	BMPWIN_LIST_U_LANG_L_CGX	( BMPWIN_LIST_U_W_NUM_CGX - BMPWIN_LIST_U_LANG_T_SX * BMPWIN_LIST_U_LANG_T_SY )
// リストページ：上画面・外国語番号
#define	BMPWIN_LIST_U_LANG_I_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_LIST_U_LANG_I_PX		( 16 )
#define	BMPWIN_LIST_U_LANG_I_PY		( 11 )
#define	BMPWIN_LIST_U_LANG_I_SX		( 3 )
#define	BMPWIN_LIST_U_LANG_I_SY		( 2 )
#define	BMPWIN_LIST_U_LANG_I_PAL	( 1 )
#define	BMPWIN_LIST_U_LANG_I_CGX	( BMPWIN_LIST_U_LANG_L_CGX - BMPWIN_LIST_U_LANG_I_SX * BMPWIN_LIST_U_LANG_I_SY )
// リストページ：上画面・外国語名
#define	BMPWIN_LIST_U_LANG_N_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_LIST_U_LANG_N_PX		( 20 )
#define	BMPWIN_LIST_U_LANG_N_PY		( 11 )
#define	BMPWIN_LIST_U_LANG_N_SX		( 8 )
#define	BMPWIN_LIST_U_LANG_N_SY		( 2 )
#define	BMPWIN_LIST_U_LANG_N_PAL	( 1 )
#define	BMPWIN_LIST_U_LANG_N_CGX	( BMPWIN_LIST_U_LANG_I_CGX - BMPWIN_LIST_U_LANG_N_SX * BMPWIN_LIST_U_LANG_N_SY )
// リストページ：上画面・外国語種類
#define	BMPWIN_LIST_U_LANG_T_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_LIST_U_LANG_T_PX		( 16 )
#define	BMPWIN_LIST_U_LANG_T_PY		( 13 )
#define	BMPWIN_LIST_U_LANG_T_SX		( 14 )
#define	BMPWIN_LIST_U_LANG_T_SY		( 2 )
#define	BMPWIN_LIST_U_LANG_T_PAL	( 1 )
#define	BMPWIN_LIST_U_LANG_T_CGX	( BMPWIN_LIST_U_LANG_N_CGX - BMPWIN_LIST_U_LANG_T_SX * BMPWIN_LIST_U_LANG_T_SY )

// 検索ページ：上画面：説明
#define	BMPWIN_SEARCH_U_INFO_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SEARCH_U_INFO_PX		( 2 )
#define	BMPWIN_SEARCH_U_INFO_PY		( 19 )
#define	BMPWIN_SEARCH_U_INFO_SX		( 28 )
#define	BMPWIN_SEARCH_U_INFO_SY		( 5 )
#define	BMPWIN_SEARCH_U_INFO_PAL	( 2 )
#define	BMPWIN_SEARCH_U_INFO_CGX	( 512 - BMPWIN_SEARCH_U_INFO_SX * BMPWIN_SEARCH_U_INFO_SY )
// 検索ページ：下画面：左ボタン
#define	BMPWIN_SEARCH_BUTTON_FRM	( ZKN2_BGF_UPPER_M )
#define	BMPWIN_SEARCH_L_BUTTON_PX	( 1 )
#define	BMPWIN_SEARCH_L_BUTTON_PY	( 1 )//( 21 )
#define	BMPWIN_SEARCH_BUTTON_SX		( 8 )
#define	BMPWIN_SEARCH_BUTTON_SY		( 2 )
#define	BMPWIN_SEARCH_BUTTON_PAL	( 4 )
#define	BMPWIN_SEARCH_L_BUTTON_CGX	( 512 - BMPWIN_SEARCH_BUTTON_SX * BMPWIN_SEARCH_BUTTON_SY )
// 検索ページ：下画面：中ボタン
#define	BMPWIN_SEARCH_C_BUTTON_PX	( 12 )
#define	BMPWIN_SEARCH_C_BUTTON_PY	( 1 )//( 21 )
#define	BMPWIN_SEARCH_C_BUTTON_CGX	( BMPWIN_SEARCH_L_BUTTON_CGX - BMPWIN_SEARCH_BUTTON_SX * BMPWIN_SEARCH_BUTTON_SY )
// 検索ページ：下画面：右ボタン
#define	BMPWIN_SEARCH_R_BUTTON_PX	( 23 )
#define	BMPWIN_SEARCH_R_BUTTON_PY	( 1 )//( 21 )
#define	BMPWIN_SEARCH_R_BUTTON_CGX	( BMPWIN_SEARCH_C_BUTTON_CGX - BMPWIN_SEARCH_BUTTON_SX * BMPWIN_SEARCH_BUTTON_SY )
// 検索ページ：ポケモン名
#define	BMPWIN_SEARCH_LABEL_POKE_FRM	( ZKN2_BGF_UPPER_M )
#define	BMPWIN_SEARCH_LABEL_POKE_PX		( 10 )
#define	BMPWIN_SEARCH_LABEL_POKE_PY		( 16 )
#define	BMPWIN_SEARCH_LABEL_POKE_SX		( 11 )
#define	BMPWIN_SEARCH_LABEL_POKE_SY		( 2 )
#define	BMPWIN_SEARCH_LABEL_POKE_PAL	( 0 )
#define	BMPWIN_SEARCH_LABEL_POKE_CGX	( BMPWIN_SEARCH_R_BUTTON_CGX - BMPWIN_SEARCH_LABEL_POKE_SX * BMPWIN_SEARCH_LABEL_POKE_SY )
// 検索ページ：「ならびじゅん」
#define	BMPWIN_SEARCH_U_ROW_FRM		( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SEARCH_D_ROW_FRM		( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_ROW_PX		( 4 )
#define	BMPWIN_SEARCH_ROW_PY		( 1 )
#define	BMPWIN_SEARCH_ROW_SX		( 9 )
#define	BMPWIN_SEARCH_ROW_SY		( 2 )
#define	BMPWIN_SEARCH_ROW_PAL		( 2 )
#define	BMPWIN_SEARCH_ROW_CGX		( BMPWIN_SEARCH_U_INFO_CGX - BMPWIN_SEARCH_ROW_SX * BMPWIN_SEARCH_ROW_SY )
// 検索ページ：「なまえ」
#define	BMPWIN_SEARCH_U_NAME_T_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SEARCH_D_NAME_T_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_NAME_T_PX		( 1 )
#define	BMPWIN_SEARCH_NAME_T_PY		( 4 )
#define	BMPWIN_SEARCH_NAME_T_SX		( 5 )
#define	BMPWIN_SEARCH_NAME_T_SY		( 2 )
#define	BMPWIN_SEARCH_NAME_T_PAL	( 2 )
#define	BMPWIN_SEARCH_NAME_T_CGX	( BMPWIN_SEARCH_ROW_CGX - BMPWIN_SEARCH_NAME_T_SX * BMPWIN_SEARCH_NAME_T_SY )
// 検索ページ：「タイプ」
#define	BMPWIN_SEARCH_U_TYPE_T_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SEARCH_D_TYPE_T_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_TYPE_T_PX		( 1 )
#define	BMPWIN_SEARCH_TYPE_T_PY		( 7 )
#define	BMPWIN_SEARCH_TYPE_T_SX		( 5 )
#define	BMPWIN_SEARCH_TYPE_T_SY		( 2 )
#define	BMPWIN_SEARCH_TYPE_T_PAL	( 2 )
#define	BMPWIN_SEARCH_TYPE_T_CGX	( BMPWIN_SEARCH_NAME_T_CGX - BMPWIN_SEARCH_TYPE_T_SX * BMPWIN_SEARCH_TYPE_T_SY )
// 検索ページ：「たかさ」
#define	BMPWIN_SEARCH_U_HI_T_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SEARCH_D_HI_T_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_HI_T_PX		( 1 )
#define	BMPWIN_SEARCH_HI_T_PY		( 10 )
#define	BMPWIN_SEARCH_HI_T_SX		( 5 )
#define	BMPWIN_SEARCH_HI_T_SY		( 2 )
#define	BMPWIN_SEARCH_HI_T_PAL		( 2 )
#define	BMPWIN_SEARCH_HI_T_CGX		( BMPWIN_SEARCH_TYPE_T_CGX - BMPWIN_SEARCH_HI_T_SX * BMPWIN_SEARCH_HI_T_SY )
// 検索ページ：「おもさ」
#define	BMPWIN_SEARCH_U_WT_T_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SEARCH_D_WT_T_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_WT_T_PX		( 1 )
#define	BMPWIN_SEARCH_WT_T_PY		( 13 )
#define	BMPWIN_SEARCH_WT_T_SX		( 5 )
#define	BMPWIN_SEARCH_WT_T_SY		( 2 )
#define	BMPWIN_SEARCH_WT_T_PAL		( 2 )
#define	BMPWIN_SEARCH_WT_T_CGX		( BMPWIN_SEARCH_HI_T_CGX - BMPWIN_SEARCH_WT_T_SX * BMPWIN_SEARCH_WT_T_SY )
// 検索ページ：「ちいき」
#define	BMPWIN_SEARCH_U_AREA_T_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SEARCH_D_AREA_T_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_AREA_T_PX		( 1 )
#define	BMPWIN_SEARCH_AREA_T_PY		( 16 )
#define	BMPWIN_SEARCH_AREA_T_SX		( 5 )
#define	BMPWIN_SEARCH_AREA_T_SY		( 2 )
#define	BMPWIN_SEARCH_AREA_T_PAL	( 2 )
#define	BMPWIN_SEARCH_AREA_T_CGX	( BMPWIN_SEARCH_WT_T_CGX - BMPWIN_SEARCH_AREA_T_SX * BMPWIN_SEARCH_AREA_T_SY )
// 検索ページ：「かたち」
#define	BMPWIN_SEARCH_U_FORM_T_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SEARCH_D_FORM_T_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_FORM_T_PX		( 25 )
#define	BMPWIN_SEARCH_FORM_T_PY		( 4 )
#define	BMPWIN_SEARCH_FORM_T_SX		( 6 )
#define	BMPWIN_SEARCH_FORM_T_SY		( 2 )
#define	BMPWIN_SEARCH_FORM_T_PAL	( 2 )
#define	BMPWIN_SEARCH_FORM_T_CGX	( BMPWIN_SEARCH_AREA_T_CGX - BMPWIN_SEARCH_FORM_T_SX * BMPWIN_SEARCH_FORM_T_SY )
// 検索ページ：並び順
#define	BMPWIN_SEARCH_U_ROW_P_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SEARCH_D_ROW_P_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_ROW_P_PX		( 16 )
#define	BMPWIN_SEARCH_ROW_P_PY		( 1 )
#define	BMPWIN_SEARCH_ROW_P_SX		( 11 )
#define	BMPWIN_SEARCH_ROW_P_SY		( 2 )
#define	BMPWIN_SEARCH_ROW_P_PAL		( 2 )
#define	BMPWIN_SEARCH_ROW_P_CGX		( BMPWIN_SEARCH_FORM_T_CGX - BMPWIN_SEARCH_ROW_P_SX * BMPWIN_SEARCH_ROW_P_SY )
// 検索ページ：名前
#define	BMPWIN_SEARCH_U_NAME_P_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SEARCH_D_NAME_P_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_NAME_P_PX		( 7 )
#define	BMPWIN_SEARCH_NAME_P_PY		( 4 )
#define	BMPWIN_SEARCH_NAME_P_SX		( 9 )
#define	BMPWIN_SEARCH_NAME_P_SY		( 2 )
#define	BMPWIN_SEARCH_NAME_P_PAL	( 2 )
#define	BMPWIN_SEARCH_NAME_P_CGX	( BMPWIN_SEARCH_ROW_P_CGX - BMPWIN_SEARCH_NAME_P_SX * BMPWIN_SEARCH_NAME_P_SY )
// 検索ページ：タイプ１
#define	BMPWIN_SEARCH_U_TYPE1_P_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SEARCH_D_TYPE1_P_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_TYPE1_P_PX	( 7 )
#define	BMPWIN_SEARCH_TYPE1_P_PY	( 7 )
#define	BMPWIN_SEARCH_TYPE1_P_SX	( 7 )
#define	BMPWIN_SEARCH_TYPE1_P_SY	( 2 )
#define	BMPWIN_SEARCH_TYPE1_P_PAL	( 2 )
#define	BMPWIN_SEARCH_TYPE1_P_CGX	( BMPWIN_SEARCH_NAME_P_CGX - BMPWIN_SEARCH_TYPE1_P_SX * BMPWIN_SEARCH_TYPE1_P_SY )
// 検索ページ：タイプ２
#define	BMPWIN_SEARCH_U_TYPE2_P_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SEARCH_D_TYPE2_P_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_TYPE2_P_PX	( 15 )
#define	BMPWIN_SEARCH_TYPE2_P_PY	( 7 )
#define	BMPWIN_SEARCH_TYPE2_P_SX	( 7 )
#define	BMPWIN_SEARCH_TYPE2_P_SY	( 2 )
#define	BMPWIN_SEARCH_TYPE2_P_PAL	( 2 )
#define	BMPWIN_SEARCH_TYPE2_P_CGX	( BMPWIN_SEARCH_TYPE1_P_CGX - BMPWIN_SEARCH_TYPE2_P_SX * BMPWIN_SEARCH_TYPE2_P_SY )
// 検索ページ：高さ（低）
#define	BMPWIN_SEARCH_U_HL_P_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SEARCH_D_HL_P_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_HL_P_PX		( 7 )
#define	BMPWIN_SEARCH_HL_P_PY		( 10 )
#define	BMPWIN_SEARCH_HL_P_SX		( 6 )
#define	BMPWIN_SEARCH_HL_P_SY		( 2 )
#define	BMPWIN_SEARCH_HL_P_PAL		( 2 )
#define	BMPWIN_SEARCH_HL_P_CGX		( BMPWIN_SEARCH_TYPE2_P_CGX - BMPWIN_SEARCH_HL_P_SX * BMPWIN_SEARCH_HL_P_SY )
// 検索ページ：高さ（高）
#define	BMPWIN_SEARCH_U_HH_P_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SEARCH_D_HH_P_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_HH_P_PX		( 15 )
#define	BMPWIN_SEARCH_HH_P_PY		( 10 )
#define	BMPWIN_SEARCH_HH_P_SX		( 6 )
#define	BMPWIN_SEARCH_HH_P_SY		( 2 )
#define	BMPWIN_SEARCH_HH_P_PAL		( 2 )
#define	BMPWIN_SEARCH_HH_P_CGX		( BMPWIN_SEARCH_HL_P_CGX - BMPWIN_SEARCH_HH_P_SX * BMPWIN_SEARCH_HH_P_SY )
// 検索ページ：重さ（低）
#define	BMPWIN_SEARCH_U_WL_P_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SEARCH_D_WL_P_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_WL_P_PX		( 7 )
#define	BMPWIN_SEARCH_WL_P_PY		( 13 )
#define	BMPWIN_SEARCH_WL_P_SX		( 9 )
#define	BMPWIN_SEARCH_WL_P_SY		( 2 )
#define	BMPWIN_SEARCH_WL_P_PAL		( 2 )
#define	BMPWIN_SEARCH_WL_P_CGX		( BMPWIN_SEARCH_HH_P_CGX - BMPWIN_SEARCH_WL_P_SX * BMPWIN_SEARCH_WL_P_SY )
// 検索ページ：重さ（高）
#define	BMPWIN_SEARCH_U_WH_P_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SEARCH_D_WH_P_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_WH_P_PX		( 18 )
#define	BMPWIN_SEARCH_WH_P_PY		( 13 )
#define	BMPWIN_SEARCH_WH_P_SX		( 9 )
#define	BMPWIN_SEARCH_WH_P_SY		( 2 )
#define	BMPWIN_SEARCH_WH_P_PAL		( 2 )
#define	BMPWIN_SEARCH_WH_P_CGX		( BMPWIN_SEARCH_WL_P_CGX - BMPWIN_SEARCH_WH_P_SX * BMPWIN_SEARCH_WH_P_SY )
// 検索ページ：地域
#define	BMPWIN_SEARCH_U_AREA_P_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SEARCH_D_AREA_P_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_AREA_P_PX		( 7 )
#define	BMPWIN_SEARCH_AREA_P_PY		( 16 )
#define	BMPWIN_SEARCH_AREA_P_SX		( 7 )
#define	BMPWIN_SEARCH_AREA_P_SY		( 2 )
#define	BMPWIN_SEARCH_AREA_P_PAL	( 2 )
#define	BMPWIN_SEARCH_AREA_P_CGX	( BMPWIN_SEARCH_WH_P_CGX - BMPWIN_SEARCH_AREA_P_SX * BMPWIN_SEARCH_AREA_P_SY )

// 検索ページ・並び順選択：「ならびじゅん」
#define	BMPWIN_SEARCH_ROW_TITLE_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_ROW_TITLE_PX	( 3 )
#define	BMPWIN_SEARCH_ROW_TITLE_PY	( 1 )
#define	BMPWIN_SEARCH_ROW_TITLE_SX	( 11 )
#define	BMPWIN_SEARCH_ROW_TITLE_SY	( 2 )
#define	BMPWIN_SEARCH_ROW_TITLE_PAL	( 2 )
#define	BMPWIN_SEARCH_ROW_TITLE_CGX	( 512 - BMPWIN_SEARCH_ROW_TITLE_SX * BMPWIN_SEARCH_ROW_TITLE_SY )
// 検索ページ・並び順選択：現在のモード
#define	BMPWIN_SEARCH_ROW_MODE_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_ROW_MODE_PX	( 18 )
#define	BMPWIN_SEARCH_ROW_MODE_PY	( 1 )
#define	BMPWIN_SEARCH_ROW_MODE_SX	( 11 )
#define	BMPWIN_SEARCH_ROW_MODE_SY	( 2 )
#define	BMPWIN_SEARCH_ROW_MODE_PAL	( 2 )
#define	BMPWIN_SEARCH_ROW_MODE_CGX	( BMPWIN_SEARCH_ROW_TITLE_CGX - BMPWIN_SEARCH_ROW_MODE_SX * BMPWIN_SEARCH_ROW_MODE_SY )
// 検索ページ・並び順選択：「ばんごう」
#define	BMPWIN_SEARCH_ROW_NUM_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_ROW_NUM_PX	( 3 )
#define	BMPWIN_SEARCH_ROW_NUM_PY	( 6 )
#define	BMPWIN_SEARCH_ROW_NUM_SX	( 11 )
#define	BMPWIN_SEARCH_ROW_NUM_SY	( 2 )
#define	BMPWIN_SEARCH_ROW_NUM_PAL	( 2 )
#define	BMPWIN_SEARCH_ROW_NUM_CGX	( BMPWIN_SEARCH_ROW_MODE_CGX - BMPWIN_SEARCH_ROW_NUM_SX * BMPWIN_SEARCH_ROW_NUM_SY )
// 検索ページ・並び順選択：「ごじゅうおん」
#define	BMPWIN_SEARCH_ROW_STR_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_ROW_STR_PX	( 18 )
#define	BMPWIN_SEARCH_ROW_STR_PY	( 6 )
#define	BMPWIN_SEARCH_ROW_STR_SX	( 11 )
#define	BMPWIN_SEARCH_ROW_STR_SY	( 2 )
#define	BMPWIN_SEARCH_ROW_STR_PAL	( 2 )
#define	BMPWIN_SEARCH_ROW_STR_CGX	( BMPWIN_SEARCH_ROW_NUM_CGX - BMPWIN_SEARCH_ROW_STR_SX * BMPWIN_SEARCH_ROW_STR_SY )
// 検索ページ・並び順選択：「おもい」
#define	BMPWIN_SEARCH_ROW_WH_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_ROW_WH_PX		( 3 )
#define	BMPWIN_SEARCH_ROW_WH_PY		( 10 )
#define	BMPWIN_SEARCH_ROW_WH_SX		( 11 )
#define	BMPWIN_SEARCH_ROW_WH_SY		( 2 )
#define	BMPWIN_SEARCH_ROW_WH_PAL	( 2 )
#define	BMPWIN_SEARCH_ROW_WH_CGX	( BMPWIN_SEARCH_ROW_STR_CGX - BMPWIN_SEARCH_ROW_WH_SX * BMPWIN_SEARCH_ROW_WH_SY )
// 検索ページ・並び順選択：「かるい」
#define	BMPWIN_SEARCH_ROW_WL_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_ROW_WL_PX		( 18 )
#define	BMPWIN_SEARCH_ROW_WL_PY		( 10 )
#define	BMPWIN_SEARCH_ROW_WL_SX		( 11 )
#define	BMPWIN_SEARCH_ROW_WL_SY		( 2 )
#define	BMPWIN_SEARCH_ROW_WL_PAL	( 2 )
#define	BMPWIN_SEARCH_ROW_WL_CGX	( BMPWIN_SEARCH_ROW_WH_CGX - BMPWIN_SEARCH_ROW_WL_SX * BMPWIN_SEARCH_ROW_WL_SY )
// 検索ページ・並び順選択：「たかい」
#define	BMPWIN_SEARCH_ROW_HH_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_ROW_HH_PX		( 3 )
#define	BMPWIN_SEARCH_ROW_HH_PY		( 14 )
#define	BMPWIN_SEARCH_ROW_HH_SX		( 11 )
#define	BMPWIN_SEARCH_ROW_HH_SY		( 2 )
#define	BMPWIN_SEARCH_ROW_HH_PAL	( 2 )
#define	BMPWIN_SEARCH_ROW_HH_CGX	( BMPWIN_SEARCH_ROW_WL_CGX - BMPWIN_SEARCH_ROW_HH_SX * BMPWIN_SEARCH_ROW_HH_SY )
// 検索ページ・並び順選択：「ひくい」
#define	BMPWIN_SEARCH_ROW_HL_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_ROW_HL_PX		( 18 )
#define	BMPWIN_SEARCH_ROW_HL_PY		( 14 )
#define	BMPWIN_SEARCH_ROW_HL_SX		( 11 )
#define	BMPWIN_SEARCH_ROW_HL_SY		( 2 )
#define	BMPWIN_SEARCH_ROW_HL_PAL	( 2 )
#define	BMPWIN_SEARCH_ROW_HL_CGX	( BMPWIN_SEARCH_ROW_HH_CGX - BMPWIN_SEARCH_ROW_HL_SX * BMPWIN_SEARCH_ROW_HL_SY )
// 検索ページ・タイプ選択：「タイプ」
#define	BMPWIN_SEARCH_TYPE_TITLE_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_TYPE_TITLE_PX		( 3 )
#define	BMPWIN_SEARCH_TYPE_TITLE_PY		( 1 )
#define	BMPWIN_SEARCH_TYPE_TITLE_SX		( 7 )
#define	BMPWIN_SEARCH_TYPE_TITLE_SY		( 2 )
#define	BMPWIN_SEARCH_TYPE_TITLE_PAL	( 2 )
#define	BMPWIN_SEARCH_TYPE_TITLE_CGX	( 512 - BMPWIN_SEARCH_TYPE_TITLE_SX * BMPWIN_SEARCH_TYPE_TITLE_SY )
// 検索ページ・タイプ選択：選択したタイプ１
#define	BMPWIN_SEARCH_TYPE_SEL_FRM		( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_TYPE_SEL1_PX		( 13 )
#define	BMPWIN_SEARCH_TYPE_SEL1_PY		( 1 )
#define	BMPWIN_SEARCH_TYPE_SEL_SX		( 7 )
#define	BMPWIN_SEARCH_TYPE_SEL_SY		( 2 )
#define	BMPWIN_SEARCH_TYPE_SEL_PAL		( 2 )
#define	BMPWIN_SEARCH_TYPE_SEL1_CGX		( BMPWIN_SEARCH_TYPE_TITLE_CGX - BMPWIN_SEARCH_TYPE_SEL_SX * BMPWIN_SEARCH_TYPE_SEL_SY )
// 検索ページ・タイプ選択：選択したタイプ２
#define	BMPWIN_SEARCH_TYPE_SEL2_PX		( 22 )
#define	BMPWIN_SEARCH_TYPE_SEL2_PY		( 1 )
#define	BMPWIN_SEARCH_TYPE_SEL2_CGX		( BMPWIN_SEARCH_TYPE_SEL1_CGX - BMPWIN_SEARCH_TYPE_SEL_SX * BMPWIN_SEARCH_TYPE_SEL_SY )
// 検索ページ・タイプ選択：タイプ１
#define	BMPWIN_SEARCH_TYPE_PRM_FRM		( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_TYPE_PRM1_PX		( 0 )
#define	BMPWIN_SEARCH_TYPE_PRM1_PY		( 5 )
#define	BMPWIN_SEARCH_TYPE_PRM_SX		( 8 )
#define	BMPWIN_SEARCH_TYPE_PRM_SY		( 2 )
#define	BMPWIN_SEARCH_TYPE_PRM_PAL		( 2 )
#define	BMPWIN_SEARCH_TYPE_PRM1_CGX		( BMPWIN_SEARCH_TYPE_SEL2_CGX - BMPWIN_SEARCH_TYPE_PRM_SX * BMPWIN_SEARCH_TYPE_PRM_SY )
// 検索ページ・タイプ選択：タイプ２
#define	BMPWIN_SEARCH_TYPE_PRM2_PX		( 8 )
#define	BMPWIN_SEARCH_TYPE_PRM2_PY		( 5 )
#define	BMPWIN_SEARCH_TYPE_PRM2_CGX		( BMPWIN_SEARCH_TYPE_PRM1_CGX - BMPWIN_SEARCH_TYPE_PRM_SX * BMPWIN_SEARCH_TYPE_PRM_SY )
// 検索ページ・タイプ選択：タイプ３
#define	BMPWIN_SEARCH_TYPE_PRM3_PX		( 16 )
#define	BMPWIN_SEARCH_TYPE_PRM3_PY		( 5 )
#define	BMPWIN_SEARCH_TYPE_PRM3_CGX		( BMPWIN_SEARCH_TYPE_PRM2_CGX - BMPWIN_SEARCH_TYPE_PRM_SX * BMPWIN_SEARCH_TYPE_PRM_SY )
// 検索ページ・タイプ選択：タイプ４
#define	BMPWIN_SEARCH_TYPE_PRM4_PX		( 24 )
#define	BMPWIN_SEARCH_TYPE_PRM4_PY		( 5 )
#define	BMPWIN_SEARCH_TYPE_PRM4_CGX		( BMPWIN_SEARCH_TYPE_PRM3_CGX - BMPWIN_SEARCH_TYPE_PRM_SX * BMPWIN_SEARCH_TYPE_PRM_SY )
// 検索ページ・タイプ選択：タイプ５
#define	BMPWIN_SEARCH_TYPE_PRM5_PX		( 0 )
#define	BMPWIN_SEARCH_TYPE_PRM5_PY		( 8 )
#define	BMPWIN_SEARCH_TYPE_PRM5_CGX		( BMPWIN_SEARCH_TYPE_PRM4_CGX - BMPWIN_SEARCH_TYPE_PRM_SX * BMPWIN_SEARCH_TYPE_PRM_SY )
// 検索ページ・タイプ選択：タイプ６
#define	BMPWIN_SEARCH_TYPE_PRM6_PX		( 8 )
#define	BMPWIN_SEARCH_TYPE_PRM6_PY		( 8 )
#define	BMPWIN_SEARCH_TYPE_PRM6_CGX		( BMPWIN_SEARCH_TYPE_PRM5_CGX - BMPWIN_SEARCH_TYPE_PRM_SX * BMPWIN_SEARCH_TYPE_PRM_SY )
// 検索ページ・タイプ選択：タイプ７
#define	BMPWIN_SEARCH_TYPE_PRM7_PX		( 16 )
#define	BMPWIN_SEARCH_TYPE_PRM7_PY		( 8 )
#define	BMPWIN_SEARCH_TYPE_PRM7_CGX		( BMPWIN_SEARCH_TYPE_PRM6_CGX - BMPWIN_SEARCH_TYPE_PRM_SX * BMPWIN_SEARCH_TYPE_PRM_SY )
// 検索ページ・タイプ選択：タイプ８
#define	BMPWIN_SEARCH_TYPE_PRM8_PX		( 24 )
#define	BMPWIN_SEARCH_TYPE_PRM8_PY		( 8 )
#define	BMPWIN_SEARCH_TYPE_PRM8_CGX		( BMPWIN_SEARCH_TYPE_PRM7_CGX - BMPWIN_SEARCH_TYPE_PRM_SX * BMPWIN_SEARCH_TYPE_PRM_SY )
// 検索ページ・タイプ選択：タイプ９
#define	BMPWIN_SEARCH_TYPE_PRM9_PX		( 0 )
#define	BMPWIN_SEARCH_TYPE_PRM9_PY		( 11 )
#define	BMPWIN_SEARCH_TYPE_PRM9_CGX		( BMPWIN_SEARCH_TYPE_PRM8_CGX - BMPWIN_SEARCH_TYPE_PRM_SX * BMPWIN_SEARCH_TYPE_PRM_SY )
// 検索ページ・タイプ選択：タイプ１０
#define	BMPWIN_SEARCH_TYPE_PRM10_PX		( 8 )
#define	BMPWIN_SEARCH_TYPE_PRM10_PY		( 11 )
#define	BMPWIN_SEARCH_TYPE_PRM10_CGX	( BMPWIN_SEARCH_TYPE_PRM9_CGX - BMPWIN_SEARCH_TYPE_PRM_SX * BMPWIN_SEARCH_TYPE_PRM_SY )
// 検索ページ・タイプ選択：タイプ１１
#define	BMPWIN_SEARCH_TYPE_PRM11_PX		( 16 )
#define	BMPWIN_SEARCH_TYPE_PRM11_PY		( 11 )
#define	BMPWIN_SEARCH_TYPE_PRM11_CGX	( BMPWIN_SEARCH_TYPE_PRM10_CGX - BMPWIN_SEARCH_TYPE_PRM_SX * BMPWIN_SEARCH_TYPE_PRM_SY )
// 検索ページ・タイプ選択：タイプ１２
#define	BMPWIN_SEARCH_TYPE_PRM12_PX		( 24 )
#define	BMPWIN_SEARCH_TYPE_PRM12_PY		( 11 )
#define	BMPWIN_SEARCH_TYPE_PRM12_CGX	( BMPWIN_SEARCH_TYPE_PRM11_CGX - BMPWIN_SEARCH_TYPE_PRM_SX * BMPWIN_SEARCH_TYPE_PRM_SY )
// 検索ページ・タイプ選択：タイプ１３
#define	BMPWIN_SEARCH_TYPE_PRM13_PX		( 0 )
#define	BMPWIN_SEARCH_TYPE_PRM13_PY		( 14 )
#define	BMPWIN_SEARCH_TYPE_PRM13_CGX	( BMPWIN_SEARCH_TYPE_PRM12_CGX - BMPWIN_SEARCH_TYPE_PRM_SX * BMPWIN_SEARCH_TYPE_PRM_SY )
// 検索ページ・タイプ選択：タイプ１４
#define	BMPWIN_SEARCH_TYPE_PRM14_PX		( 8 )
#define	BMPWIN_SEARCH_TYPE_PRM14_PY		( 14 )
#define	BMPWIN_SEARCH_TYPE_PRM14_CGX	( BMPWIN_SEARCH_TYPE_PRM13_CGX - BMPWIN_SEARCH_TYPE_PRM_SX * BMPWIN_SEARCH_TYPE_PRM_SY )
// 検索ページ・タイプ選択：タイプ１５
#define	BMPWIN_SEARCH_TYPE_PRM15_PX		( 16 )
#define	BMPWIN_SEARCH_TYPE_PRM15_PY		( 14 )
#define	BMPWIN_SEARCH_TYPE_PRM15_CGX	( BMPWIN_SEARCH_TYPE_PRM14_CGX - BMPWIN_SEARCH_TYPE_PRM_SX * BMPWIN_SEARCH_TYPE_PRM_SY )
// 検索ページ・タイプ選択：タイプ１６
#define	BMPWIN_SEARCH_TYPE_PRM16_PX		( 24 )
#define	BMPWIN_SEARCH_TYPE_PRM16_PY		( 14 )
#define	BMPWIN_SEARCH_TYPE_PRM16_CGX	( BMPWIN_SEARCH_TYPE_PRM15_CGX - BMPWIN_SEARCH_TYPE_PRM_SX * BMPWIN_SEARCH_TYPE_PRM_SY )
// 検索ページ・タイプ選択：タイプ１７
#define	BMPWIN_SEARCH_TYPE_PRM17_PX		( 0 )
#define	BMPWIN_SEARCH_TYPE_PRM17_PY		( 17 )
#define	BMPWIN_SEARCH_TYPE_PRM17_CGX	( BMPWIN_SEARCH_TYPE_PRM16_CGX - BMPWIN_SEARCH_TYPE_PRM_SX * BMPWIN_SEARCH_TYPE_PRM_SY )
// 検索ページ・タイプ選択：タイプ１８
#define	BMPWIN_SEARCH_TYPE_PRM18_PX		( 8 )
#define	BMPWIN_SEARCH_TYPE_PRM18_PY		( 17 )
#define	BMPWIN_SEARCH_TYPE_PRM18_CGX	( BMPWIN_SEARCH_TYPE_PRM17_CGX - BMPWIN_SEARCH_TYPE_PRM_SX * BMPWIN_SEARCH_TYPE_PRM_SY )
// 検索ページ・タイプ選択：「けってい」
#define	BMPWIN_SEARCH_TYPE_ENTER_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_TYPE_ENTER_PX		( 4 )
#define	BMPWIN_SEARCH_TYPE_ENTER_PY		( 21 )
#define	BMPWIN_SEARCH_TYPE_ENTER_SX		( 8 )
#define	BMPWIN_SEARCH_TYPE_ENTER_SY		( 2 )
#define	BMPWIN_SEARCH_TYPE_ENTER_PAL	( 2 )
#define	BMPWIN_SEARCH_TYPE_ENTER_CGX	( BMPWIN_SEARCH_TYPE_PRM18_CGX - BMPWIN_SEARCH_TYPE_ENTER_SX * BMPWIN_SEARCH_TYPE_ENTER_SY )
// 検索ページ・タイプ選択：「やめる」
#define	BMPWIN_SEARCH_TYPE_CANCEL_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_TYPE_CANCEL_PX	( 21 )
#define	BMPWIN_SEARCH_TYPE_CANCEL_PY	( 21 )
#define	BMPWIN_SEARCH_TYPE_CANCEL_SX	( 8 )
#define	BMPWIN_SEARCH_TYPE_CANCEL_SY	( 2 )
#define	BMPWIN_SEARCH_TYPE_CANCEL_PAL	( 2 )
#define	BMPWIN_SEARCH_TYPE_CANCEL_CGX	( BMPWIN_SEARCH_TYPE_ENTER_CGX - BMPWIN_SEARCH_TYPE_CANCEL_SX * BMPWIN_SEARCH_TYPE_CANCEL_SY )
// 検索ページ・名前選択：「なまえ」
#define	BMPWIN_SEARCH_NAME_TITLE_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_NAME_TITLE_PX		( 7 )
#define	BMPWIN_SEARCH_NAME_TITLE_PY		( 1 )
#define	BMPWIN_SEARCH_NAME_TITLE_SX		( 6 )
#define	BMPWIN_SEARCH_NAME_TITLE_SY		( 2 )
#define	BMPWIN_SEARCH_NAME_TITLE_PAL	( 2 )
#define	BMPWIN_SEARCH_NAME_TITLE_CGX	( 512 - BMPWIN_SEARCH_NAME_TITLE_SX * BMPWIN_SEARCH_NAME_TITLE_SY )
// 検索ページ・名前選択：名前
#define	BMPWIN_SEARCH_NAME_SEL_FRM		( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_NAME_SEL_PX		( 15 )
#define	BMPWIN_SEARCH_NAME_SEL_PY		( 1 )
#define	BMPWIN_SEARCH_NAME_SEL_SX		( 9 )
#define	BMPWIN_SEARCH_NAME_SEL_SY		( 2 )
#define	BMPWIN_SEARCH_NAME_SEL_PAL		( 2 )
#define	BMPWIN_SEARCH_NAME_SEL_CGX		( BMPWIN_SEARCH_NAME_TITLE_CGX - BMPWIN_SEARCH_NAME_SEL_SX * BMPWIN_SEARCH_NAME_SEL_SY )
// 検索ページ・名前選択：入力エリア
#define	BMPWIN_SEARCH_NAME_AREA_FRM		( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_NAME_AREA_PX		( 1 )
#define	BMPWIN_SEARCH_NAME_AREA_PY		( 5 )
#define	BMPWIN_SEARCH_NAME_AREA_SX		( 29 )
#define	BMPWIN_SEARCH_NAME_AREA_SY		( 14 )
#define	BMPWIN_SEARCH_NAME_AREA_PAL		( 2 )
#define	BMPWIN_SEARCH_NAME_AREA_CGX		( BMPWIN_SEARCH_NAME_SEL_CGX - BMPWIN_SEARCH_NAME_AREA_SX * BMPWIN_SEARCH_NAME_AREA_SY )
// 検索ページ・高さ選択：「たかさ」
#define	BMPWIN_SEARCH_HEIGHT_TITLE_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_HEIGHT_TITLE_PX	( 3 )
#define	BMPWIN_SEARCH_HEIGHT_TITLE_PY	( 1 )
#define	BMPWIN_SEARCH_HEIGHT_TITLE_SX	( 5 )
#define	BMPWIN_SEARCH_HEIGHT_TITLE_SY	( 2 )
#define	BMPWIN_SEARCH_HEIGHT_TITLE_PAL	( 2 )
#define	BMPWIN_SEARCH_HEIGHT_TITLE_CGX	( 512 - BMPWIN_SEARCH_HEIGHT_TITLE_SX * BMPWIN_SEARCH_HEIGHT_TITLE_SY )
// 検索ページ・高さ選択：高さ（低）
#define	BMPWIN_SEARCH_HEIGHT_L_FRM		( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_HEIGHT_L_PX		( 10 )
#define	BMPWIN_SEARCH_HEIGHT_L_PY		( 1 )
#define	BMPWIN_SEARCH_HEIGHT_L_SX		( 7 )
#define	BMPWIN_SEARCH_HEIGHT_L_SY		( 2 )
#define	BMPWIN_SEARCH_HEIGHT_L_PAL		( 2 )
#define	BMPWIN_SEARCH_HEIGHT_L_CGX		( BMPWIN_SEARCH_HEIGHT_TITLE_CGX - BMPWIN_SEARCH_HEIGHT_L_SX * BMPWIN_SEARCH_HEIGHT_L_SY )
// 検索ページ・高さ選択：高さ（高）
#define	BMPWIN_SEARCH_HEIGHT_H_FRM		( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_HEIGHT_H_PX		( 19 )
#define	BMPWIN_SEARCH_HEIGHT_H_PY		( 1 )
#define	BMPWIN_SEARCH_HEIGHT_H_SX		( 7 )
#define	BMPWIN_SEARCH_HEIGHT_H_SY		( 2 )
#define	BMPWIN_SEARCH_HEIGHT_H_PAL		( 2 )
#define	BMPWIN_SEARCH_HEIGHT_H_CGX		( BMPWIN_SEARCH_HEIGHT_L_CGX - BMPWIN_SEARCH_HEIGHT_H_SX * BMPWIN_SEARCH_HEIGHT_H_SY )
// 検索ページ・重さ選択：「おもさ」
#define	BMPWIN_SEARCH_WEIGHT_TITLE_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_WEIGHT_TITLE_PX	( 1 )
#define	BMPWIN_SEARCH_WEIGHT_TITLE_PY	( 1 )
#define	BMPWIN_SEARCH_WEIGHT_TITLE_SX	( 6 )
#define	BMPWIN_SEARCH_WEIGHT_TITLE_SY	( 2 )
#define	BMPWIN_SEARCH_WEIGHT_TITLE_PAL	( 2 )
#define	BMPWIN_SEARCH_WEIGHT_TITLE_CGX	( 512 - BMPWIN_SEARCH_WEIGHT_TITLE_SX * BMPWIN_SEARCH_WEIGHT_TITLE_SY )
// 検索ページ・重さ選択：重さ（低）
#define	BMPWIN_SEARCH_WEIGHT_L_FRM		( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_WEIGHT_L_PX		( 8 )
#define	BMPWIN_SEARCH_WEIGHT_L_PY		( 1 )
#define	BMPWIN_SEARCH_WEIGHT_L_SX		( 9 )
#define	BMPWIN_SEARCH_WEIGHT_L_SY		( 2 )
#define	BMPWIN_SEARCH_WEIGHT_L_PAL		( 2 )
#define	BMPWIN_SEARCH_WEIGHT_L_CGX		( BMPWIN_SEARCH_WEIGHT_TITLE_CGX - BMPWIN_SEARCH_WEIGHT_L_SX * BMPWIN_SEARCH_WEIGHT_L_SY )
// 検索ページ・重さ選択：重さ（高）
#define	BMPWIN_SEARCH_WEIGHT_H_FRM		( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_WEIGHT_H_PX		( 19 )
#define	BMPWIN_SEARCH_WEIGHT_H_PY		( 1 )
#define	BMPWIN_SEARCH_WEIGHT_H_SX		( 9 )
#define	BMPWIN_SEARCH_WEIGHT_H_SY		( 2 )
#define	BMPWIN_SEARCH_WEIGHT_H_PAL		( 2 )
#define	BMPWIN_SEARCH_WEIGHT_H_CGX		( BMPWIN_SEARCH_WEIGHT_L_CGX - BMPWIN_SEARCH_WEIGHT_H_SX * BMPWIN_SEARCH_WEIGHT_H_SY )
// 検索ページ・地域選択：「ちいき」
#define	BMPWIN_SEARCH_AREA_TITLE_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_AREA_TITLE_PX		( 7 )
#define	BMPWIN_SEARCH_AREA_TITLE_PY		( 1 )
#define	BMPWIN_SEARCH_AREA_TITLE_SX		( 6 )
#define	BMPWIN_SEARCH_AREA_TITLE_SY		( 2 )
#define	BMPWIN_SEARCH_AREA_TITLE_PAL	( 2 )
#define	BMPWIN_SEARCH_AREA_TITLE_CGX	( 512 - BMPWIN_SEARCH_AREA_TITLE_SX * BMPWIN_SEARCH_AREA_TITLE_SY )
// 検索ページ・地域選択：選択した地域
#define	BMPWIN_SEARCH_AREA_SEL_FRM		( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_AREA_SEL_PX		( 16 )
#define	BMPWIN_SEARCH_AREA_SEL_PY		( 1 )
#define	BMPWIN_SEARCH_AREA_SEL_SX		( 7 )
#define	BMPWIN_SEARCH_AREA_SEL_SY		( 2 )
#define	BMPWIN_SEARCH_AREA_SEL_PAL		( 2 )
#define	BMPWIN_SEARCH_AREA_SEL_CGX		( BMPWIN_SEARCH_AREA_TITLE_CGX - BMPWIN_SEARCH_AREA_SEL_SX * BMPWIN_SEARCH_AREA_SEL_SY )
// 検索ページ・地域選択：「ジョウト」
#define	BMPWIN_SEARCH_AREA_PRM_FRM		( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_AREA_PRM1_PX		( 6 )
#define	BMPWIN_SEARCH_AREA_PRM1_PY		( 8 )
#define	BMPWIN_SEARCH_AREA_PRM_SX		( 7 )
#define	BMPWIN_SEARCH_AREA_PRM_SY		( 2 )
#define	BMPWIN_SEARCH_AREA_PRM_PAL		( 2 )
#define	BMPWIN_SEARCH_AREA_PRM1_CGX		( BMPWIN_SEARCH_AREA_SEL_CGX - BMPWIN_SEARCH_AREA_PRM_SX * BMPWIN_SEARCH_AREA_PRM_SY )
// 検索ページ・地域選択：「カントー」
#define	BMPWIN_SEARCH_AREA_PRM2_PX		( 19 )
#define	BMPWIN_SEARCH_AREA_PRM2_PY		( 8 )
#define	BMPWIN_SEARCH_AREA_PRM2_CGX		( BMPWIN_SEARCH_AREA_PRM1_CGX - BMPWIN_SEARCH_AREA_PRM_SX * BMPWIN_SEARCH_AREA_PRM_SY )
// 検索ページ・地域選択：「ふめい」
#define	BMPWIN_SEARCH_AREA_PRM3_PX		( 6 )
#define	BMPWIN_SEARCH_AREA_PRM3_PY		( 15 )
#define	BMPWIN_SEARCH_AREA_PRM3_CGX		( BMPWIN_SEARCH_AREA_PRM2_CGX - BMPWIN_SEARCH_AREA_PRM_SX * BMPWIN_SEARCH_AREA_PRM_SY )
// 検索ページ・地域選択：「−−−−」
#define	BMPWIN_SEARCH_AREA_PRM4_PX		( 19 )
#define	BMPWIN_SEARCH_AREA_PRM4_PY		( 15 )
#define	BMPWIN_SEARCH_AREA_PRM4_CGX		( BMPWIN_SEARCH_AREA_PRM3_CGX - BMPWIN_SEARCH_AREA_PRM_SX * BMPWIN_SEARCH_AREA_PRM_SY )
// 検索ページ・形選択：「かたち」
#define	BMPWIN_SEARCH_FORM_TITLE_FRM	( ZKN2_BGF_COVER_M )
#define	BMPWIN_SEARCH_FORM_TITLE_PX		( 8 )
#define	BMPWIN_SEARCH_FORM_TITLE_PY		( 1 )
#define	BMPWIN_SEARCH_FORM_TITLE_SX		( 6 )
#define	BMPWIN_SEARCH_FORM_TITLE_SY		( 3 )
#define	BMPWIN_SEARCH_FORM_TITLE_PAL	( 2 )
#define	BMPWIN_SEARCH_FORM_TITLE_CGX	( 512 - BMPWIN_SEARCH_FORM_TITLE_SX * BMPWIN_SEARCH_FORM_TITLE_SY )

// 詳細・姿ページ：上画面タイトル
#define	BMPWIN_FORM_U_TITLE_FRM		( ZKN2_BGF_UPPER_S )
#define	BMPWIN_FORM_U_TITLE_PX		( 2 )
#define	BMPWIN_FORM_U_TITLE_PY		( 0 )
#define	BMPWIN_FORM_U_TITLE_SX		( 9 )
#define	BMPWIN_FORM_U_TITLE_SY		( 2 )
#define	BMPWIN_FORM_U_TITLE_PAL		( 2 )
#define	BMPWIN_FORM_U_TITLE_CGX		( 1024 - BMPWIN_FORM_U_TITLE_SX * BMPWIN_FORM_U_TITLE_SY )
// 詳細・姿ページ：上画面名前
#define	BMPWIN_FORM_U_NAME_FRM		( ZKN2_BGF_UPPER_S )
#define	BMPWIN_FORM_U_NAME_PX		( 4 )
#define	BMPWIN_FORM_U_NAME_PY		( 5 )
#define	BMPWIN_FORM_U_NAME_SX		( 9 )
#define	BMPWIN_FORM_U_NAME_SY		( 2 )
#define	BMPWIN_FORM_U_NAME_PAL		( 1 )
#define	BMPWIN_FORM_U_NAME_CGX		( BMPWIN_FORM_U_TITLE_CGX - BMPWIN_FORM_U_NAME_SX * BMPWIN_FORM_U_NAME_SY )
// 詳細・姿ページ：上画面フォルム名
#define	BMPWIN_FORM_U_FORM_FRM		( ZKN2_BGF_UPPER_S )
#define	BMPWIN_FORM_U_FORM_PX		( 13 )
#define	BMPWIN_FORM_U_FORM_PY		( 5 )
#define	BMPWIN_FORM_U_FORM_SX		( 15 )
#define	BMPWIN_FORM_U_FORM_SY		( 2 )
#define	BMPWIN_FORM_U_FORM_PAL		( 1 )
#define	BMPWIN_FORM_U_FORM_CGX		( BMPWIN_FORM_U_NAME_CGX - BMPWIN_FORM_U_FORM_SX * BMPWIN_FORM_U_FORM_SY )
// 詳細・姿ページ：上画面「〜を　みくらべる」
#define	BMPWIN_FORM_U_KURABERU_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_FORM_U_KURABERU_PX	( 7 )
#define	BMPWIN_FORM_U_KURABERU_PY	( 5 )
#define	BMPWIN_FORM_U_KURABERU_SX	( 18 )
#define	BMPWIN_FORM_U_KURABERU_SY	( 2 )
#define	BMPWIN_FORM_U_KURABERU_PAL	( 1 )
#define	BMPWIN_FORM_U_KURABERU_CGX	( BMPWIN_FORM_U_FORM_CGX - BMPWIN_FORM_U_KURABERU_SX * BMPWIN_FORM_U_KURABERU_SY )
// 詳細・姿ページ：下画面「みくらべる」
#define	BMPWIN_FORM_D_KURABERU_FRM	( ZKN2_BGF_UPPER_M )
#define	BMPWIN_FORM_D_KURABERU_PX	( 21 )
#define	BMPWIN_FORM_D_KURABERU_PY	( 17 )
#define	BMPWIN_FORM_D_KURABERU_SX	( 10 )
#define	BMPWIN_FORM_D_KURABERU_SY	( 2 )
#define	BMPWIN_FORM_D_KURABERU_PAL	( 1 )
#define	BMPWIN_FORM_D_KURABERU_CGX	( 512 - BMPWIN_FORM_D_KURABERU_SX * BMPWIN_FORM_D_KURABERU_SY )
// 詳細・姿ページ：下画面「すがた」
#define	BMPWIN_FORM_D_SUGATA_FRM	( ZKN2_BGF_UPPER_M )
#define	BMPWIN_FORM_D_SUGATA_PX		( 13 )
#define	BMPWIN_FORM_D_SUGATA_PY		( 2 )
#define	BMPWIN_FORM_D_SUGATA_SX		( 6 )
#define	BMPWIN_FORM_D_SUGATA_SY		( 2 )
#define	BMPWIN_FORM_D_SUGATA_PAL	( 1 )
#define	BMPWIN_FORM_D_SUGATA_CGX	( BMPWIN_FORM_D_KURABERU_CGX - BMPWIN_FORM_D_SUGATA_SX * BMPWIN_FORM_D_SUGATA_SY )
// 詳細・姿ページ：下画面フォルム名・左
#define	BMPWIN_FORM_D_FORM_L_FRM	( ZKN2_BGF_UPPER_M )
#define	BMPWIN_FORM_D_FORM_L_PX		( 0 )
#define	BMPWIN_FORM_D_FORM_L_PY		( 12 )
#define	BMPWIN_FORM_D_FORM_L_SX		( 16 )
#define	BMPWIN_FORM_D_FORM_L_SY		( 2 )
#define	BMPWIN_FORM_D_FORM_L_PAL	( 1 )
#define	BMPWIN_FORM_D_FORM_L_CGX	( BMPWIN_FORM_D_SUGATA_CGX - BMPWIN_FORM_D_FORM_L_SX * BMPWIN_FORM_D_FORM_L_SY )
// 詳細・姿ページ：下画面フォルム名・右
#define	BMPWIN_FORM_D_FORM_R_FRM	( ZKN2_BGF_UPPER_M )
#define	BMPWIN_FORM_D_FORM_R_PX		( 16 )
#define	BMPWIN_FORM_D_FORM_R_PY		( 12 )
#define	BMPWIN_FORM_D_FORM_R_SX		( 16 )
#define	BMPWIN_FORM_D_FORM_R_SY		( 2 )
#define	BMPWIN_FORM_D_FORM_R_PAL	( 1 )
#define	BMPWIN_FORM_D_FORM_R_CGX	( BMPWIN_FORM_D_FORM_L_CGX - BMPWIN_FORM_D_FORM_R_SX * BMPWIN_FORM_D_FORM_R_SY )
// 詳細・姿ページ：下画面「きりかえる」
#define	BMPWIN_FORM_D_CHANGE_FRM	( ZKN2_BGF_UPPER_M )
#define	BMPWIN_FORM_D_CHANGE_PX		( 3 )
#define	BMPWIN_FORM_D_CHANGE_PY		( 20 )
#define	BMPWIN_FORM_D_CHANGE_SX		( 12 )
#define	BMPWIN_FORM_D_CHANGE_SY		( 3 )
#define	BMPWIN_FORM_D_CHANGE_PAL	( 1 )
#define	BMPWIN_FORM_D_CHANGE_CGX	( BMPWIN_FORM_D_FORM_R_CGX - BMPWIN_FORM_D_CHANGE_SX * BMPWIN_FORM_D_CHANGE_SY )
// 詳細・姿ページ：下画面「もどる」
#define	BMPWIN_FORM_D_RET_FRM		( ZKN2_BGF_UPPER_M )
#define	BMPWIN_FORM_D_RET_PX		( 18 )
#define	BMPWIN_FORM_D_RET_PY		( 20 )
#define	BMPWIN_FORM_D_RET_SX		( 12 )
#define	BMPWIN_FORM_D_RET_SY		( 3 )
#define	BMPWIN_FORM_D_RET_PAL		( 1 )
#define	BMPWIN_FORM_D_RET_CGX		( BMPWIN_FORM_D_CHANGE_CGX - BMPWIN_FORM_D_RET_SX * BMPWIN_FORM_D_RET_SY )
// 詳細・姿ページ：下画面フォルム名１
#define	BMPWIN_FORM_D_FORM_FRM		( ZKN2_BGF_CENTER_M )
#define	BMPWIN_FORM_D_FORM1_PX		( 8 )
#define	BMPWIN_FORM_D_FORM1_PY		( 1 )
#define	BMPWIN_FORM_D_FORM_SX		( 18 )
#define	BMPWIN_FORM_D_FORM_SY		( 2 )
#define	BMPWIN_FORM_D_FORM_PAL		( 1 )
#define	BMPWIN_FORM_D_FORM1_CGX		( 512 - BMPWIN_FORM_D_FORM_SX * BMPWIN_FORM_D_FORM_SY )
// 詳細・姿ページ：下画面フォルム名２
#define	BMPWIN_FORM_D_FORM2_PX		( 8 )
#define	BMPWIN_FORM_D_FORM2_PY		( 4 )
#define	BMPWIN_FORM_D_FORM2_CGX		( BMPWIN_FORM_D_FORM1_CGX - BMPWIN_FORM_D_FORM_SX * BMPWIN_FORM_D_FORM_SY )
// 詳細・姿ページ：下画面フォルム名３
#define	BMPWIN_FORM_D_FORM3_PX		( 8 )
#define	BMPWIN_FORM_D_FORM3_PY		( 7 )
#define	BMPWIN_FORM_D_FORM3_CGX		( BMPWIN_FORM_D_FORM2_CGX - BMPWIN_FORM_D_FORM_SX * BMPWIN_FORM_D_FORM_SY )
// 詳細・姿ページ：下画面フォルム名４
#define	BMPWIN_FORM_D_FORM4_PX		( 8 )
#define	BMPWIN_FORM_D_FORM4_PY		( 10 )
#define	BMPWIN_FORM_D_FORM4_CGX		( BMPWIN_FORM_D_FORM3_CGX - BMPWIN_FORM_D_FORM_SX * BMPWIN_FORM_D_FORM_SY )
// 詳細・姿ページ：下画面フォルム名５
#define	BMPWIN_FORM_D_FORM5_PX		( 8 )
#define	BMPWIN_FORM_D_FORM5_PY		( 13 )
#define	BMPWIN_FORM_D_FORM5_CGX		( BMPWIN_FORM_D_FORM4_CGX - BMPWIN_FORM_D_FORM_SX * BMPWIN_FORM_D_FORM_SY )
// 詳細・姿ページ：下画面フォルム名６
#define	BMPWIN_FORM_D_FORM6_PX		( 8 )
#define	BMPWIN_FORM_D_FORM6_PY		( 16 )
#define	BMPWIN_FORM_D_FORM6_CGX		( BMPWIN_FORM_D_FORM5_CGX - BMPWIN_FORM_D_FORM_SX * BMPWIN_FORM_D_FORM_SY )

// 詳細・大きさページ：上画面タイトル
#define	BMPWIN_SIZE_U_TITLE_FRM		( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SIZE_U_TITLE_PX		( 2 )
#define	BMPWIN_SIZE_U_TITLE_PY		( 0 )
#define	BMPWIN_SIZE_U_TITLE_SX		( 9 )
#define	BMPWIN_SIZE_U_TITLE_SY		( 2 )
#define	BMPWIN_SIZE_U_TITLE_PAL		( 2 )
#define	BMPWIN_SIZE_U_TITLE_CGX		( 1024 - BMPWIN_SIZE_U_TITLE_SX * BMPWIN_SIZE_U_TITLE_SY )
// 詳細・大きさページ：上画面ポケモン名
#define	BMPWIN_SIZE_U_POKENAME_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SIZE_U_POKENAME_PX	( 4 )
#define	BMPWIN_SIZE_U_POKENAME_PY	( 3 )
#define	BMPWIN_SIZE_U_POKENAME_SX	( 8 )
#define	BMPWIN_SIZE_U_POKENAME_SY	( 2 )
#define	BMPWIN_SIZE_U_POKENAME_PAL	( 1 )
#define	BMPWIN_SIZE_U_POKENAME_CGX	( BMPWIN_SIZE_U_TITLE_CGX - BMPWIN_SIZE_U_POKENAME_SX * BMPWIN_SIZE_U_POKENAME_SY )
// 詳細・大きさページ：上画面主人公名
#define	BMPWIN_SIZE_U_MYNAME_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SIZE_U_MYNAME_PX		( 20 )
#define	BMPWIN_SIZE_U_MYNAME_PY		( 3 )
#define	BMPWIN_SIZE_U_MYNAME_SX		( 8 )
#define	BMPWIN_SIZE_U_MYNAME_SY		( 2 )
#define	BMPWIN_SIZE_U_MYNAME_PAL	( 1 )
#define	BMPWIN_SIZE_U_MYNAME_CGX	( BMPWIN_SIZE_U_POKENAME_CGX - BMPWIN_SIZE_U_MYNAME_SX * BMPWIN_SIZE_U_MYNAME_SY )
// 詳細・大きさページ：「おおきさくらべ」
#define	BMPWIN_SIZE_U_KURABE_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SIZE_U_KURABE_PX		( 10 )
#define	BMPWIN_SIZE_U_KURABE_PY		( 6 )
#define	BMPWIN_SIZE_U_KURABE_SX		( 12 )
#define	BMPWIN_SIZE_U_KURABE_SY		( 2 )
#define	BMPWIN_SIZE_U_KURABE_PAL	( 1 )
#define	BMPWIN_SIZE_U_KURABE_CGX	( BMPWIN_SIZE_U_MYNAME_CGX - BMPWIN_SIZE_U_KURABE_SX * BMPWIN_SIZE_U_KURABE_SY )
// 詳細・大きさページ：ポケモン「たかさ」
#define	BMPWIN_SIZE_U_POKE_HT_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SIZE_U_POKE_HT_PX	( 2 )
#define	BMPWIN_SIZE_U_POKE_HT_PY	( 21 )
#define	BMPWIN_SIZE_U_POKE_HT_SX	( 5 )
#define	BMPWIN_SIZE_U_POKE_HT_SY	( 2 )
#define	BMPWIN_SIZE_U_POKE_HT_PAL	( 2 )
#define	BMPWIN_SIZE_U_POKE_HT_CGX	( BMPWIN_SIZE_U_KURABE_CGX - BMPWIN_SIZE_U_POKE_HT_SX * BMPWIN_SIZE_U_POKE_HT_SY )
// 詳細・大きさページ：ポケモン高さ
#define	BMPWIN_SIZE_U_POKE_HP_FRM	( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SIZE_U_POKE_HP_PX	( 8 )
#define	BMPWIN_SIZE_U_POKE_HP_PY	( 21 )
#define	BMPWIN_SIZE_U_POKE_HP_SX	( 7 )
#define	BMPWIN_SIZE_U_POKE_HP_SY	( 2 )
#define	BMPWIN_SIZE_U_POKE_HP_PAL	( 2 )
#define	BMPWIN_SIZE_U_POKE_HP_CGX	( BMPWIN_SIZE_U_POKE_HT_CGX - BMPWIN_SIZE_U_POKE_HP_SX * BMPWIN_SIZE_U_POKE_HP_SY )
// 詳細・大きさページ：自分「たかさ」
#define	BMPWIN_SIZE_U_MY_HT_FRM		( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SIZE_U_MY_HT_PX		( 17 )
#define	BMPWIN_SIZE_U_MY_HT_PY		( 21 )
#define	BMPWIN_SIZE_U_MY_HT_SX		( 5 )
#define	BMPWIN_SIZE_U_MY_HT_SY		( 2 )
#define	BMPWIN_SIZE_U_MY_HT_PAL		( 2 )
#define	BMPWIN_SIZE_U_MY_HT_CGX		( BMPWIN_SIZE_U_POKE_HP_CGX - BMPWIN_SIZE_U_MY_HT_SX * BMPWIN_SIZE_U_MY_HT_SY )
// 詳細・大きさページ：自分高さ
#define	BMPWIN_SIZE_U_MY_HP_FRM		( ZKN2_BGF_UPPER_S )
#define	BMPWIN_SIZE_U_MY_HP_PX		( 23 )
#define	BMPWIN_SIZE_U_MY_HP_PY		( 21 )
#define	BMPWIN_SIZE_U_MY_HP_SX		( 7 )
#define	BMPWIN_SIZE_U_MY_HP_SY		( 2 )
#define	BMPWIN_SIZE_U_MY_HP_PAL		( 2 )
#define	BMPWIN_SIZE_U_MY_HP_CGX		( BMPWIN_SIZE_U_MY_HT_CGX - BMPWIN_SIZE_U_MY_HP_SX * BMPWIN_SIZE_U_MY_HP_SY )
// 詳細・大きさページ：下画面「おもさ　くらべ」
#define	BMPWIN_SIZE_D_KURABE_FRM	( ZKN2_BGF_UPPER_M )
#define	BMPWIN_SIZE_D_KURABE_PX		( 10 )
#define	BMPWIN_SIZE_D_KURABE_PY		( 1 )
#define	BMPWIN_SIZE_D_KURABE_SX		( 12 )
#define	BMPWIN_SIZE_D_KURABE_SY		( 2 )
#define	BMPWIN_SIZE_D_KURABE_PAL	( 1 )
#define	BMPWIN_SIZE_D_KURABE_CGX	( 512 - BMPWIN_SIZE_D_KURABE_SX * BMPWIN_SIZE_D_KURABE_SY )
// 詳細・大きさページ：下画面ポケモン「おもさ」
#define	BMPWIN_SIZE_D_POKE_WT_FRM	( ZKN2_BGF_UPPER_M )
#define	BMPWIN_SIZE_D_POKE_WT_PX	( 2 )
#define	BMPWIN_SIZE_D_POKE_WT_PY	( 17 )
#define	BMPWIN_SIZE_D_POKE_WT_SX	( 5 )
#define	BMPWIN_SIZE_D_POKE_WT_SY	( 2 )
#define	BMPWIN_SIZE_D_POKE_WT_PAL	( 1 )
#define	BMPWIN_SIZE_D_POKE_WT_CGX	( BMPWIN_SIZE_D_KURABE_CGX - BMPWIN_SIZE_D_POKE_WT_SX * BMPWIN_SIZE_D_POKE_WT_SY )
// 詳細・大きさページ：ポケモンの重さ
#define	BMPWIN_SIZE_D_POKE_WP_FRM	( ZKN2_BGF_UPPER_M )
#define	BMPWIN_SIZE_D_POKE_WP_PX	( 8 )
#define	BMPWIN_SIZE_D_POKE_WP_PY	( 17 )
#define	BMPWIN_SIZE_D_POKE_WP_SX	( 7 )
#define	BMPWIN_SIZE_D_POKE_WP_SY	( 2 )
#define	BMPWIN_SIZE_D_POKE_WP_PAL	( 1 )
#define	BMPWIN_SIZE_D_POKE_WP_CGX	( BMPWIN_SIZE_D_POKE_WT_CGX - BMPWIN_SIZE_D_POKE_WP_SX * BMPWIN_SIZE_D_POKE_WP_SY )
// 詳細・大きさページ：下画面主人公「おもさ」
#define	BMPWIN_SIZE_D_MY_WT_FRM	( ZKN2_BGF_UPPER_M )
#define	BMPWIN_SIZE_D_MY_WT_PX		( 17 )
#define	BMPWIN_SIZE_D_MY_WT_PY		( 17 )
#define	BMPWIN_SIZE_D_MY_WT_SX		( 5 )
#define	BMPWIN_SIZE_D_MY_WT_SY		( 2 )
#define	BMPWIN_SIZE_D_MY_WT_PAL		( 1 )
#define	BMPWIN_SIZE_D_MY_WT_CGX		( BMPWIN_SIZE_D_POKE_WP_CGX - BMPWIN_SIZE_D_MY_WT_SX * BMPWIN_SIZE_D_MY_WT_SY )
// 詳細・大きさページ：下画面主人公の重さ
#define	BMPWIN_SIZE_D_MY_WP_FRM		( ZKN2_BGF_UPPER_M )
#define	BMPWIN_SIZE_D_MY_WP_PX		( 23 )
#define	BMPWIN_SIZE_D_MY_WP_PY		( 17 )
#define	BMPWIN_SIZE_D_MY_WP_SX		( 7 )
#define	BMPWIN_SIZE_D_MY_WP_SY		( 2 )
#define	BMPWIN_SIZE_D_MY_WP_PAL		( 1 )
#define	BMPWIN_SIZE_D_MY_WP_CGX		( BMPWIN_SIZE_D_MY_WT_CGX - BMPWIN_SIZE_D_KURABE_SX * BMPWIN_SIZE_D_KURABE_SY )

// 詳細・分布ページ：上画面タイトル
#define	BMPWIN_ENC_U_TITLE_FRM		( ZKN2_BGF_UPPER_S )
#define	BMPWIN_ENC_U_TITLE_PX		( 2 )
#define	BMPWIN_ENC_U_TITLE_PY		( 0 )
#define	BMPWIN_ENC_U_TITLE_SX		( 9 )
#define	BMPWIN_ENC_U_TITLE_SY		( 2 )
#define	BMPWIN_ENC_U_TITLE_PAL		( 2 )
#define	BMPWIN_ENC_U_TITLE_CGX		( 512 - BMPWIN_ENC_U_TITLE_SX * BMPWIN_ENC_U_TITLE_SY )
// 詳細・分布ページ：上画面時間帯
#define	BMPWIN_ENC_U_TIME_FRM		( ZKN2_BGF_UPPER_S )
#define	BMPWIN_ENC_U_TIME_PX		( 1 )
#define	BMPWIN_ENC_U_TIME_PY		( 3 )
#define	BMPWIN_ENC_U_TIME_SX		( 7 )
#define	BMPWIN_ENC_U_TIME_SY		( 2 )
#define	BMPWIN_ENC_U_TIME_PAL		( 1 )
#define	BMPWIN_ENC_U_TIME_CGX		( BMPWIN_ENC_U_TITLE_CGX - BMPWIN_ENC_U_TIME_SX * BMPWIN_ENC_U_TIME_SY )
// 詳細・分布ページ：上画面ポケモン名
#define	BMPWIN_ENC_U_NAME_FRM		( ZKN2_BGF_UPPER_S )
#define	BMPWIN_ENC_U_NAME_PX		( 0 )
#define	BMPWIN_ENC_U_NAME_PY		( 16 )
#define	BMPWIN_ENC_U_NAME_SX		( 9 )
#define	BMPWIN_ENC_U_NAME_SY		( 2 )
#define	BMPWIN_ENC_U_NAME_PAL		( 1 )
#define	BMPWIN_ENC_U_NAME_CGX		( BMPWIN_ENC_U_TIME_CGX - BMPWIN_ENC_U_NAME_SX * BMPWIN_ENC_U_NAME_SY )
// 詳細・分布ページ：上画面「せいそくち　ふめい」
#define	BMPWIN_ENC_U_ERROR_FRM		( ZKN2_BGF_UPPER_S )
#define	BMPWIN_ENC_U_ERROR_PX		( 13 )
#define	BMPWIN_ENC_U_ERROR_PY		( 12 )
#define	BMPWIN_ENC_U_ERROR_SX		( 14 )
#define	BMPWIN_ENC_U_ERROR_SY		( 2 )
#define	BMPWIN_ENC_U_ERROR_PAL		( 1 )
#define	BMPWIN_ENC_U_ERROR_CGX		( BMPWIN_ENC_U_NAME_CGX - BMPWIN_ENC_U_ERROR_SX * BMPWIN_ENC_U_ERROR_SY )
// 詳細・分布ページ：下画面「きりかえ」
#define	BMPWIN_ENC_D_CHANGE_FRM		( ZKN2_BGF_UPPER_M )
#define	BMPWIN_ENC_D_CHANGE_PX		( 1 )
#define	BMPWIN_ENC_D_CHANGE_PY		( 5 )
#define	BMPWIN_ENC_D_CHANGE_SX		( 6 )
#define	BMPWIN_ENC_D_CHANGE_SY		( 2 )
#define	BMPWIN_ENC_D_CHANGE_PAL		( 1 )
#define	BMPWIN_ENC_D_CHANGE_CGX		( 512 - BMPWIN_ENC_D_CHANGE_SX * BMPWIN_ENC_D_CHANGE_SY )
// 詳細・分布ページ：下画面「ジョウト」（全国図鑑可）
#define	BMPWIN_ENC_D_JOHTO_FRM		( ZKN2_BGF_UPPER_M )
#define	BMPWIN_ENC_D_JOHTO1_PX		( 9 )
#define	BMPWIN_ENC_D_JOHTO1_PY		( 1 )
#define	BMPWIN_ENC_D_JOHTO_SX		( 7 )
#define	BMPWIN_ENC_D_JOHTO_SY		( 2 )
#define	BMPWIN_ENC_D_JOHTO_PAL		( 1 )
#define	BMPWIN_ENC_D_JOHTO_CGX		( BMPWIN_ENC_D_CHANGE_CGX - BMPWIN_ENC_D_JOHTO_SX * BMPWIN_ENC_D_JOHTO_SY )
// 詳細・分布ページ：下画面「ジョウト」（全国図鑑不可）
#define	BMPWIN_ENC_D_JOHTO2_PX		( 18 )
#define	BMPWIN_ENC_D_JOHTO2_PY		( 1 )
// 詳細・分布ページ：下画面「カントー」
#define	BMPWIN_ENC_D_KANTO_FRM		( ZKN2_BGF_UPPER_M )
#define	BMPWIN_ENC_D_KANTO_PX		( 24 )
#define	BMPWIN_ENC_D_KANTO_PY		( 1 )
#define	BMPWIN_ENC_D_KANTO_SX		( 7 )
#define	BMPWIN_ENC_D_KANTO_SY		( 2 )
#define	BMPWIN_ENC_D_KANTO_PAL		( 1 )
#define	BMPWIN_ENC_D_KANTO_CGX		( BMPWIN_ENC_D_JOHTO_CGX - BMPWIN_ENC_D_KANTO_SX * BMPWIN_ENC_D_KANTO_SY )
// 詳細・分布ページ：下画面地名１
#define	BMPWIN_ENC_D_LIST_FRM		( ZKN2_BGF_CENTER_M )
#define	BMPWIN_ENC_D_LIST_PX		( 10 )
#define	BMPWIN_ENC_D_LIST1_PY		( 5 )
#define	BMPWIN_ENC_D_LIST_SX		( 18 )
#define	BMPWIN_ENC_D_LIST_SY		( 2 )
#define	BMPWIN_ENC_D_LIST_PAL		( 1 )
#define	BMPWIN_ENC_D_LIST1_CGX		( 512 - BMPWIN_ENC_D_LIST_SX * BMPWIN_ENC_D_LIST_SY )
// 詳細・分布ページ：下画面地名２
#define	BMPWIN_ENC_D_LIST2_PY		( 8 )
#define	BMPWIN_ENC_D_LIST2_CGX		( BMPWIN_ENC_D_LIST1_CGX - BMPWIN_ENC_D_LIST_SX * BMPWIN_ENC_D_LIST_SY )
// 詳細・分布ページ：下画面地名３
#define	BMPWIN_ENC_D_LIST3_PY		( 11 )
#define	BMPWIN_ENC_D_LIST3_CGX		( BMPWIN_ENC_D_LIST2_CGX - BMPWIN_ENC_D_LIST_SX * BMPWIN_ENC_D_LIST_SY )
// 詳細・分布ページ：下画面地名４
#define	BMPWIN_ENC_D_LIST4_PY		( 14 )
#define	BMPWIN_ENC_D_LIST4_CGX		( BMPWIN_ENC_D_LIST3_CGX - BMPWIN_ENC_D_LIST_SX * BMPWIN_ENC_D_LIST_SY )
// 詳細・分布ページ：下画面地名５
#define	BMPWIN_ENC_D_LIST5_PY		( 17 )
#define	BMPWIN_ENC_D_LIST5_CGX		( BMPWIN_ENC_D_LIST4_CGX - BMPWIN_ENC_D_LIST_SX * BMPWIN_ENC_D_LIST_SY )
// 詳細・分布ページ：下画面地名６
#define	BMPWIN_ENC_D_LIST6_PY		( 20 )
#define	BMPWIN_ENC_D_LIST6_CGX		( BMPWIN_ENC_D_LIST5_CGX - BMPWIN_ENC_D_LIST_SX * BMPWIN_ENC_D_LIST_SY )
// 詳細・戻るページ：上画面タイトル
#define	BMPWIN_DRET_U_TITLE_FRM		( ZKN2_BGF_UPPER_S )
#define	BMPWIN_DRET_U_TITLE_PX		( 2 )
#define	BMPWIN_DRET_U_TITLE_PY		( 0 )
#define	BMPWIN_DRET_U_TITLE_SX		( 9 )
#define	BMPWIN_DRET_U_TITLE_SY		( 2 )
#define	BMPWIN_DRET_U_TITLE_PAL		( 2 )
#define	BMPWIN_DRET_U_TITLE_CGX		( 1024 - BMPWIN_DRET_U_TITLE_SX * BMPWIN_DRET_U_TITLE_SY )
// 詳細・戻るページ：下画面「戻る」
#define	BMPWIN_DRET_D_END_FRM	( ZKN2_BGF_UPPER_M )
#define	BMPWIN_DRET_D_END_PX	( 10 )
#define	BMPWIN_DRET_D_END_PY	( 10 )
#define	BMPWIN_DRET_D_END_SX	( 15 )
#define	BMPWIN_DRET_D_END_SY	( 2 )
#define	BMPWIN_DRET_D_END_PAL	( 1 )
#define	BMPWIN_DRET_D_END_CGX	( 512 - BMPWIN_DRET_D_END_SX * BMPWIN_DRET_D_END_SY )


#define	FNTCOL_SEEGET	( GF_PRINTCOLOR_MAKE( 15, 8, 0 ) )		// フォントカラー：カバー
#define	FNTCOL_COVER	( GF_PRINTCOLOR_MAKE( 15, 13, 2 ) )		// フォントカラー：カバー
#define	FNTCOL_LANG		( GF_PRINTCOLOR_MAKE( 2, 1, 0 ) )		// フォントカラー：言語
#define	FNTCOL_LIST		( GF_PRINTCOLOR_MAKE( 2, 1, 0 ) )		// フォントカラー：リスト上画面
#define	FNTCOL_SEARCH	( GF_PRINTCOLOR_MAKE( 2, 1, 0 ) )		// フォントカラー：検索画面
#define	FNTCOL_SIZE		( GF_PRINTCOLOR_MAKE( 15, 12, 0 ) )		// フォントカラー：詳細・大きさ下画面
#define	FNTCOL_FORM		( GF_PRINTCOLOR_MAKE( 12, 13, 0 ) )		// フォントカラー：詳細・姿画面
#define	FNTCOL_FORM_TD	( GF_PRINTCOLOR_MAKE( 15, 12, 0 ) )		// フォントカラー：詳細・姿下画面タッチ

// フォントカラー	M00BN
//					12345
// 1 = 画面、2-3 = パレット番号、4 = 文字色、5 = 背景色
#define	FNTCOL_M01BN	( GF_PRINTCOLOR_MAKE( 5, 9, 0 ) )	// フォントカラー：下画面パレット０１・黒無
#define	FNTCOL_M01WN	( GF_PRINTCOLOR_MAKE( 15, 5, 0 ) )	// フォントカラー：下画面パレット０１・白無

#define	COVER_SEEGET_CHR_U		( 0x01 )	//「みつけたかず」「つかまえたかず」の背景キャラ番号（上）
#define	COVER_SEEGET_CHR_D		( 0x01 )	//「みつけたかず」「つかまえたかず」の背景キャラ番号（下）
#define	COVER_SEEGETNUM_CHR_U	( 0x18 )	// 発見数・捕獲数の背景キャラ番号（上）
#define	COVER_SEEGETNUM_CHR_D	( 0x01 )	// 発見数・捕獲数の背景キャラ番号（下）

// リストページ：下画面のポケモン名表示
#define	LABEL_LANG_NAME_PX	( 3 * 8 + 8 * 8 / 2 )	// 言語アイコン表示時の描画位置（８キャラの中心）
#define	LABEL_NAME_PX		( 11 * 8 / 2 )			// 言語アイコン非表示時の描画位置（１１キャラの中心）

#define	HEIGHT_WEIGHT_PX	( ZKN2STR_BMPWIN_CENTER(BMPWIN_LIST_U_HEIGHT_SX) )		//「たかさ」「おもさ」表示Ｘ位置
#define	LANG_L_PX			( ZKN2STR_BMPWIN_CENTER(BMPWIN_LIST_U_LANG_L_SX) )		//「〜ごのずかん」表示Ｘ位置

#define	SEARCH_BUTTON_CHAR_U	( 0x62 )	// 検索画面用ボタンキャラ（上）
#define	SEARCH_BUTTON_CHAR_D	( 0x65 )	// 検索画面用ボタンキャラ（下）

// 検索画面：名前入力座標
#define	SEARCH_NAME_INPUT_PX	( 8 )
#define	SEARCH_NAME_INPUT_PY	( 0 )
#define	SEARCH_NAME_INPUT_SX	( 24 )
#define	SEARCH_NAME_INPUT_SY	( 24 )
#define	SEARCH_NAME_INPUT_Y_MAX	( 5 )

// 分布表示座標
#define	PLACE_LIST_SPACE_Y	( BMPWIN_ENC_D_LIST2_PY - BMPWIN_ENC_D_LIST1_PY )
#define	PLACE_LIST_UY		( BMPWIN_ENC_D_LIST1_PY - PLACE_LIST_SPACE_Y )
#define	PLACE_LIST_DY		( BMPWIN_ENC_D_LIST5_PY + PLACE_LIST_SPACE_Y )

// フォルムリスト座標
#define	FORM1_FORMLIST_SPACE_Y	( BMPWIN_FORM_D_FORM2_PY - BMPWIN_FORM_D_FORM1_PY )
#define	FORM1_FORMLIST_UY		( BMPWIN_FORM_D_FORM1_PY - FORM1_FORMLIST_SPACE_Y )
#define	FORM1_FORMLIST_DY		( BMPWIN_FORM_D_FORM5_PY + FORM1_FORMLIST_SPACE_Y )


//============================================================================================
//	プトトタイプ宣言
//============================================================================================
static void CoverSeeGetPrint( ZKN2_WORK * wk, u32 winID, const u32 strID );
static void CoverSeeGetNumPrint( ZKN2_WORK * wk, u32 winID, u32 num );

static void ListPokeInfoTitlePut( ZKN2_WORK * wk, u32 winID );
static void ListPokeInfoNumberPut( ZKN2_WORK * wk, u32 mons, u32 winID );
static void ListPokeInfoNamePut( ZKN2_WORK * wk, u32 mons, u32 winID );
static void ListPokeInfoTypePut( ZKN2_WORK * wk, u32 mons, u32 pos, u32 winID );

static void ListPokeTextInfoPut( ZKN2_WORK * wk, u32 mons, u32 pos, u32 winID );
static void ListPokeTextHeightPut( ZKN2_WORK * wk, u32 winID );
static void ListPokeTextWeightPut( ZKN2_WORK * wk, u32 winID );
static void ListPokeTextHeightNumPut( ZKN2_WORK * wk, u32 mons, u32 pos, u32 winID );
static void ListPokeTextWeightNumPut( ZKN2_WORK * wk, u32 mons, u32 pos, u32 winID );
static void ListPokeTextLangLabelPut( ZKN2_WORK * wk, u32 winID );
static void ListPokeTextLangInfoPut( ZKN2_WORK * wk, u32 mons, u32 winID );
static void ListPokeTextLangNamePut( ZKN2_WORK * wk, u32 mons, u32 winID );
static void ListPokeTextLangTextPut( ZKN2_WORK * wk, u32 mons, u32 pos, u32 winID );

static void SearchDefRowPut( ZKN2_WORK * wk, u32 winID );
static void SearchDefNamePut( ZKN2_WORK * wk, u32 winID );
static void SearchDefTypePut( ZKN2_WORK * wk, u32 winID );
static void SearchDefHeightPut( ZKN2_WORK * wk, u32 winID );
static void SearchDefWeightPut( ZKN2_WORK * wk, u32 winID );
static void SearchDefAreaPut( ZKN2_WORK * wk, u32 winID );
static void SearchDefFormPut( ZKN2_WORK * wk, u32 winID );
static void SearchButtonPut( ZKN2_WORK * wk, u32 winID, u32 strID );
static void SearchCoverStrPut( ZKN2_WORK * wk, u32 winID );

static u32 PlaceNameGet( ZKN2_WORK * wk, u32 pos );
static u32 FormNameGet( ZKN2_WORK * wk, u32 pos );
static void Form1PageDefStrPut( ZKN2_WORK * wk );
static void Form1PageBmpOff( ZKN2_WORK * wk );


//============================================================================================
//	グローバル変数
//============================================================================================

// トップ・リストページＢＭＰデータ
static const BMPWIN_DAT TopPageBmpWinData[] =
{
	{	// トップページ：「みつけた　かず」
		BMPWIN_TOP_SEE_FRM, BMPWIN_TOP_SEE_PX, BMPWIN_TOP_SEE_PY,
		BMPWIN_TOP_SEE_SX, BMPWIN_TOP_SEE_SY, BMPWIN_TOP_SEE_PAL, BMPWIN_TOP_SEE_CGX
	},
	{	// トップページ：「つかまえた　かず」
		BMPWIN_TOP_GET_FRM,	BMPWIN_TOP_GET_PX, BMPWIN_TOP_GET_PY,
		BMPWIN_TOP_GET_SX, BMPWIN_TOP_GET_SY, BMPWIN_TOP_GET_PAL, BMPWIN_TOP_GET_CGX
	},
	{	// トップページ：発見数
		BMPWIN_TOP_SNUM_FRM, BMPWIN_TOP_SNUM_PX, BMPWIN_TOP_SNUM_PY,
		BMPWIN_TOP_SNUM_SX, BMPWIN_TOP_SNUM_SY, BMPWIN_TOP_SNUM_PAL, BMPWIN_TOP_SNUM1_CGX
	},
	{	// トップページ：発見数
		BMPWIN_TOP_SNUM_FRM, BMPWIN_TOP_SNUM_PX, BMPWIN_TOP_SNUM_PY,
		BMPWIN_TOP_SNUM_SX, BMPWIN_TOP_SNUM_SY, BMPWIN_TOP_SNUM_PAL, BMPWIN_TOP_SNUM2_CGX
	},
	{	// トップページ：捕獲数
		BMPWIN_TOP_GNUM_FRM, BMPWIN_TOP_GNUM_PX, BMPWIN_TOP_GNUM_PY,
		BMPWIN_TOP_GNUM_SX, BMPWIN_TOP_GNUM_SY, BMPWIN_TOP_GNUM_PAL, BMPWIN_TOP_GNUM1_CGX
	},
	{	// トップページ：捕獲数
		BMPWIN_TOP_GNUM_FRM, BMPWIN_TOP_GNUM_PX, BMPWIN_TOP_GNUM_PY,
		BMPWIN_TOP_GNUM_SX, BMPWIN_TOP_GNUM_SY, BMPWIN_TOP_GNUM_PAL, BMPWIN_TOP_GNUM2_CGX
	},
	{	// リストページ：ポケモン名
		BMPWIN_LIST_POKE_FRM, BMPWIN_LIST_POKE_PX, BMPWIN_LIST_POKE_PY,
		BMPWIN_LIST_POKE_SX, BMPWIN_LIST_POKE_SY, BMPWIN_LIST_POKE_PAL, BMPWIN_LIST_POKE_CGX
	},

	{	// リストページ：上画面・タイトル
		BMPWIN_LIST_U_TITLE_FRM, BMPWIN_LIST_U_TITLE_PX, BMPWIN_LIST_U_TITLE_PY,
		BMPWIN_LIST_U_TITLE_SX, BMPWIN_LIST_U_TITLE_SY, BMPWIN_LIST_U_TITLE_PAL, BMPWIN_LIST_U_TITLE_CGX
	},
	{	// リストページ：上画面・ポケモン番号
		BMPWIN_LIST_U_NUM_FRM, BMPWIN_LIST_U_NUM_PX, BMPWIN_LIST_U_NUM_PY,
		BMPWIN_LIST_U_NUM_SX, BMPWIN_LIST_U_NUM_SY, BMPWIN_LIST_U_NUM_PAL, BMPWIN_LIST_U_NUM_CGX
	},
	{	// リストページ：上画面・ポケモン名
		BMPWIN_LIST_U_POKE_FRM, BMPWIN_LIST_U_POKE_PX, BMPWIN_LIST_U_POKE_PY,
		BMPWIN_LIST_U_POKE_SX, BMPWIN_LIST_U_POKE_SY, BMPWIN_LIST_U_POKE_PAL, BMPWIN_LIST_U_POKE_CGX
	},
	{	// リストページ：上画面・ポケモン種類
		BMPWIN_LIST_U_TYPE_FRM, BMPWIN_LIST_U_TYPE_PX, BMPWIN_LIST_U_TYPE_PY,
		BMPWIN_LIST_U_TYPE_SX, BMPWIN_LIST_U_TYPE_SY, BMPWIN_LIST_U_TYPE_PAL, BMPWIN_LIST_U_TYPE_CGX
	},
	{	// リストページ：上画面・説明
		BMPWIN_LIST_U_INFO_FRM, BMPWIN_LIST_U_INFO_PX, BMPWIN_LIST_U_INFO_PY,
		BMPWIN_LIST_U_INFO_SX, BMPWIN_LIST_U_INFO_SY, BMPWIN_LIST_U_INFO_PAL, BMPWIN_LIST_U_INFO_CGX
	},
	{	// リストページ：上画面・高さ
		BMPWIN_LIST_U_HEIGHT_FRM, BMPWIN_LIST_U_HEIGHT_PX, BMPWIN_LIST_U_HEIGHT_PY,
		BMPWIN_LIST_U_HEIGHT_SX, BMPWIN_LIST_U_HEIGHT_SY, BMPWIN_LIST_U_HEIGHT_PAL, BMPWIN_LIST_U_HEIGHT_CGX
	},
	{	// リストページ：上画面・高さの数値
		BMPWIN_LIST_U_H_NUM_FRM, BMPWIN_LIST_U_H_NUM_PX, BMPWIN_LIST_U_H_NUM_PY,
		BMPWIN_LIST_U_H_NUM_SX, BMPWIN_LIST_U_H_NUM_SY, BMPWIN_LIST_U_H_NUM_PAL, BMPWIN_LIST_U_H_NUM_CGX
	},
	{	// リストページ：上画面・重さ
		BMPWIN_LIST_U_WEIGHT_FRM, BMPWIN_LIST_U_WEIGHT_PX, BMPWIN_LIST_U_WEIGHT_PY,
		BMPWIN_LIST_U_WEIGHT_SX, BMPWIN_LIST_U_WEIGHT_SY, BMPWIN_LIST_U_WEIGHT_PAL, BMPWIN_LIST_U_WEIGHT_CGX
	},
	{	// リストページ：上画面・重さの数値
		BMPWIN_LIST_U_W_NUM_FRM, BMPWIN_LIST_U_W_NUM_PX, BMPWIN_LIST_U_W_NUM_PY,
		BMPWIN_LIST_U_W_NUM_SX, BMPWIN_LIST_U_W_NUM_SY, BMPWIN_LIST_U_W_NUM_PAL, BMPWIN_LIST_U_W_NUM_CGX
	},
	{	// リストページ：上画面・外国語タイトル
		BMPWIN_LIST_U_LANG_L_FRM, BMPWIN_LIST_U_LANG_L_PX, BMPWIN_LIST_U_LANG_L_PY,
		BMPWIN_LIST_U_LANG_L_SX, BMPWIN_LIST_U_LANG_L_SY, BMPWIN_LIST_U_LANG_L_PAL, BMPWIN_LIST_U_LANG_L_CGX
	},
	{	// リストページ：上画面・外国語番号
		BMPWIN_LIST_U_LANG_I_FRM, BMPWIN_LIST_U_LANG_I_PX, BMPWIN_LIST_U_LANG_I_PY,
		BMPWIN_LIST_U_LANG_I_SX, BMPWIN_LIST_U_LANG_I_SY, BMPWIN_LIST_U_LANG_I_PAL, BMPWIN_LIST_U_LANG_I_CGX
	},
	{	// リストページ：上画面・外国語名
		BMPWIN_LIST_U_LANG_N_FRM, BMPWIN_LIST_U_LANG_N_PX, BMPWIN_LIST_U_LANG_N_PY,
		BMPWIN_LIST_U_LANG_N_SX, BMPWIN_LIST_U_LANG_N_SY, BMPWIN_LIST_U_LANG_N_PAL, BMPWIN_LIST_U_LANG_N_CGX
	},
	{	// リストページ：上画面・外国語種類
		BMPWIN_LIST_U_LANG_T_FRM, BMPWIN_LIST_U_LANG_T_PX, BMPWIN_LIST_U_LANG_T_PY,
		BMPWIN_LIST_U_LANG_T_SX, BMPWIN_LIST_U_LANG_T_SY, BMPWIN_LIST_U_LANG_T_PAL, BMPWIN_LIST_U_LANG_T_CGX
	},
};

// 検索ページＢＭＰデータ
static const BMPWIN_DAT SearchPageBmpWinData[] =
{
	{	// 検索ページ：上画面：説明
		BMPWIN_SEARCH_U_INFO_FRM, BMPWIN_SEARCH_U_INFO_PX, BMPWIN_SEARCH_U_INFO_PY,
		BMPWIN_SEARCH_U_INFO_SX, BMPWIN_SEARCH_U_INFO_SY, BMPWIN_SEARCH_U_INFO_PAL, BMPWIN_SEARCH_U_INFO_CGX
	},
	{	// 検索ページ：上画面：「ならびじゅん」
		BMPWIN_SEARCH_U_ROW_FRM, BMPWIN_SEARCH_ROW_PX, BMPWIN_SEARCH_ROW_PY,
		BMPWIN_SEARCH_ROW_SX, BMPWIN_SEARCH_ROW_SY, BMPWIN_SEARCH_ROW_PAL, BMPWIN_SEARCH_ROW_CGX
	},
	{	// 検索ページ：上画面：「なまえ」
		BMPWIN_SEARCH_U_NAME_T_FRM, BMPWIN_SEARCH_NAME_T_PX, BMPWIN_SEARCH_NAME_T_PY,
		BMPWIN_SEARCH_NAME_T_SX, BMPWIN_SEARCH_NAME_T_SY, BMPWIN_SEARCH_NAME_T_PAL, BMPWIN_SEARCH_NAME_T_CGX
	},
	{	// 検索ページ：上画面：「タイプ」
		BMPWIN_SEARCH_U_TYPE_T_FRM, BMPWIN_SEARCH_TYPE_T_PX, BMPWIN_SEARCH_TYPE_T_PY,
		BMPWIN_SEARCH_TYPE_T_SX, BMPWIN_SEARCH_TYPE_T_SY, BMPWIN_SEARCH_TYPE_T_PAL, BMPWIN_SEARCH_TYPE_T_CGX
	},
	{	// 検索ページ：上画面：「たかさ」
		BMPWIN_SEARCH_U_HI_T_FRM, BMPWIN_SEARCH_HI_T_PX, BMPWIN_SEARCH_HI_T_PY,
		BMPWIN_SEARCH_HI_T_SX, BMPWIN_SEARCH_HI_T_SY, BMPWIN_SEARCH_HI_T_PAL, BMPWIN_SEARCH_HI_T_CGX
	},
	{	// 検索ページ：上画面：「おもさ」
		BMPWIN_SEARCH_U_WT_T_FRM, BMPWIN_SEARCH_WT_T_PX, BMPWIN_SEARCH_WT_T_PY,
		BMPWIN_SEARCH_WT_T_SX, BMPWIN_SEARCH_WT_T_SY, BMPWIN_SEARCH_WT_T_PAL, BMPWIN_SEARCH_WT_T_CGX
	},
	{	// 検索ページ：上画面：「ちいき」
		BMPWIN_SEARCH_U_AREA_T_FRM, BMPWIN_SEARCH_AREA_T_PX, BMPWIN_SEARCH_AREA_T_PY,
		BMPWIN_SEARCH_AREA_T_SX, BMPWIN_SEARCH_AREA_T_SY, BMPWIN_SEARCH_AREA_T_PAL, BMPWIN_SEARCH_AREA_T_CGX
	},
	{	// 検索ページ：上画面：「かたち」
		BMPWIN_SEARCH_U_FORM_T_FRM, BMPWIN_SEARCH_FORM_T_PX, BMPWIN_SEARCH_FORM_T_PY,
		BMPWIN_SEARCH_FORM_T_SX, BMPWIN_SEARCH_FORM_T_SY, BMPWIN_SEARCH_FORM_T_PAL, BMPWIN_SEARCH_FORM_T_CGX
	},
	{	// 検索ページ：上画面：並び順
		BMPWIN_SEARCH_U_ROW_P_FRM, BMPWIN_SEARCH_ROW_P_PX, BMPWIN_SEARCH_ROW_P_PY,
		BMPWIN_SEARCH_ROW_P_SX, BMPWIN_SEARCH_ROW_P_SY, BMPWIN_SEARCH_ROW_P_PAL, BMPWIN_SEARCH_ROW_P_CGX
	},
	{	// 検索ページ：上画面：名前
		BMPWIN_SEARCH_U_NAME_P_FRM, BMPWIN_SEARCH_NAME_P_PX, BMPWIN_SEARCH_NAME_P_PY,
		BMPWIN_SEARCH_NAME_P_SX, BMPWIN_SEARCH_NAME_P_SY, BMPWIN_SEARCH_NAME_P_PAL, BMPWIN_SEARCH_NAME_P_CGX
	},
	{	// 検索ページ：上画面：タイプ１
		BMPWIN_SEARCH_U_TYPE1_P_FRM, BMPWIN_SEARCH_TYPE1_P_PX, BMPWIN_SEARCH_TYPE1_P_PY,
		BMPWIN_SEARCH_TYPE1_P_SX, BMPWIN_SEARCH_TYPE1_P_SY, BMPWIN_SEARCH_TYPE1_P_PAL, BMPWIN_SEARCH_TYPE1_P_CGX
	},
	{	// 検索ページ：上画面：タイプ２
		BMPWIN_SEARCH_U_TYPE2_P_FRM, BMPWIN_SEARCH_TYPE2_P_PX, BMPWIN_SEARCH_TYPE2_P_PY,
		BMPWIN_SEARCH_TYPE2_P_SX, BMPWIN_SEARCH_TYPE2_P_SY, BMPWIN_SEARCH_TYPE2_P_PAL, BMPWIN_SEARCH_TYPE2_P_CGX
	},
	{	// 検索ページ：上画面：高さ（低）
		BMPWIN_SEARCH_U_HL_P_FRM, BMPWIN_SEARCH_HL_P_PX, BMPWIN_SEARCH_HL_P_PY,
		BMPWIN_SEARCH_HL_P_SX, BMPWIN_SEARCH_HL_P_SY, BMPWIN_SEARCH_HL_P_PAL, BMPWIN_SEARCH_HL_P_CGX
	},
	{	// 検索ページ：上画面：高さ（高）
		BMPWIN_SEARCH_U_HH_P_FRM, BMPWIN_SEARCH_HH_P_PX, BMPWIN_SEARCH_HH_P_PY,
		BMPWIN_SEARCH_HH_P_SX, BMPWIN_SEARCH_HH_P_SY, BMPWIN_SEARCH_HH_P_PAL, BMPWIN_SEARCH_HH_P_CGX
	},
	{	// 検索ページ：上画面：重さ（低）
		BMPWIN_SEARCH_U_WL_P_FRM, BMPWIN_SEARCH_WL_P_PX, BMPWIN_SEARCH_WL_P_PY,
		BMPWIN_SEARCH_WL_P_SX, BMPWIN_SEARCH_WL_P_SY, BMPWIN_SEARCH_WL_P_PAL, BMPWIN_SEARCH_WL_P_CGX
	},
	{	// 検索ページ：上画面：重さ（高）
		BMPWIN_SEARCH_U_WH_P_FRM, BMPWIN_SEARCH_WH_P_PX, BMPWIN_SEARCH_WH_P_PY,
		BMPWIN_SEARCH_WH_P_SX, BMPWIN_SEARCH_WH_P_SY, BMPWIN_SEARCH_WH_P_PAL, BMPWIN_SEARCH_WH_P_CGX
	},
	{	// 検索ページ：上画面：地域
		BMPWIN_SEARCH_U_AREA_P_FRM, BMPWIN_SEARCH_AREA_P_PX, BMPWIN_SEARCH_AREA_P_PY,
		BMPWIN_SEARCH_AREA_P_SX, BMPWIN_SEARCH_AREA_P_SY, BMPWIN_SEARCH_AREA_P_PAL, BMPWIN_SEARCH_AREA_P_CGX
	},
	{	// 検索ページ：下画面：左ボタン
		BMPWIN_SEARCH_BUTTON_FRM, BMPWIN_SEARCH_L_BUTTON_PX, BMPWIN_SEARCH_L_BUTTON_PY,
		BMPWIN_SEARCH_BUTTON_SX, BMPWIN_SEARCH_BUTTON_SY, BMPWIN_SEARCH_BUTTON_PAL, BMPWIN_SEARCH_L_BUTTON_CGX
	},
	{	// 検索ページ：下画面：中ボタン
		BMPWIN_SEARCH_BUTTON_FRM, BMPWIN_SEARCH_C_BUTTON_PX, BMPWIN_SEARCH_C_BUTTON_PY,
		BMPWIN_SEARCH_BUTTON_SX, BMPWIN_SEARCH_BUTTON_SY, BMPWIN_SEARCH_BUTTON_PAL, BMPWIN_SEARCH_C_BUTTON_CGX
	},
	{	// 検索ページ：下画面：右ボタン
		BMPWIN_SEARCH_BUTTON_FRM, BMPWIN_SEARCH_R_BUTTON_PX, BMPWIN_SEARCH_R_BUTTON_PY,
		BMPWIN_SEARCH_BUTTON_SX, BMPWIN_SEARCH_BUTTON_SY, BMPWIN_SEARCH_BUTTON_PAL, BMPWIN_SEARCH_R_BUTTON_CGX
	},

	{	// 検索ページ：下画面：「ならびじゅん」
		BMPWIN_SEARCH_D_ROW_FRM, BMPWIN_SEARCH_ROW_PX, BMPWIN_SEARCH_ROW_PY,
		BMPWIN_SEARCH_ROW_SX, BMPWIN_SEARCH_ROW_SY, BMPWIN_SEARCH_ROW_PAL, BMPWIN_SEARCH_ROW_CGX
	},
	{	// 検索ページ：下画面：「なまえ」
		BMPWIN_SEARCH_D_NAME_T_FRM, BMPWIN_SEARCH_NAME_T_PX, BMPWIN_SEARCH_NAME_T_PY,
		BMPWIN_SEARCH_NAME_T_SX, BMPWIN_SEARCH_NAME_T_SY, BMPWIN_SEARCH_NAME_T_PAL, BMPWIN_SEARCH_NAME_T_CGX
	},
	{	// 検索ページ：下画面：「タイプ」
		BMPWIN_SEARCH_D_TYPE_T_FRM, BMPWIN_SEARCH_TYPE_T_PX, BMPWIN_SEARCH_TYPE_T_PY,
		BMPWIN_SEARCH_TYPE_T_SX, BMPWIN_SEARCH_TYPE_T_SY, BMPWIN_SEARCH_TYPE_T_PAL, BMPWIN_SEARCH_TYPE_T_CGX
	},
	{	// 検索ページ：下画面：「たかさ」
		BMPWIN_SEARCH_D_HI_T_FRM, BMPWIN_SEARCH_HI_T_PX, BMPWIN_SEARCH_HI_T_PY,
		BMPWIN_SEARCH_HI_T_SX, BMPWIN_SEARCH_HI_T_SY, BMPWIN_SEARCH_HI_T_PAL, BMPWIN_SEARCH_HI_T_CGX
	},
	{	// 検索ページ：下画面：「おもさ」
		BMPWIN_SEARCH_D_WT_T_FRM, BMPWIN_SEARCH_WT_T_PX, BMPWIN_SEARCH_WT_T_PY,
		BMPWIN_SEARCH_WT_T_SX, BMPWIN_SEARCH_WT_T_SY, BMPWIN_SEARCH_WT_T_PAL, BMPWIN_SEARCH_WT_T_CGX
	},
	{	// 検索ページ：下画面：「ちいき」
		BMPWIN_SEARCH_D_AREA_T_FRM, BMPWIN_SEARCH_AREA_T_PX, BMPWIN_SEARCH_AREA_T_PY,
		BMPWIN_SEARCH_AREA_T_SX, BMPWIN_SEARCH_AREA_T_SY, BMPWIN_SEARCH_AREA_T_PAL, BMPWIN_SEARCH_AREA_T_CGX
	},
	{	// 検索ページ：下画面：「かたち」
		BMPWIN_SEARCH_D_FORM_T_FRM, BMPWIN_SEARCH_FORM_T_PX, BMPWIN_SEARCH_FORM_T_PY,
		BMPWIN_SEARCH_FORM_T_SX, BMPWIN_SEARCH_FORM_T_SY, BMPWIN_SEARCH_FORM_T_PAL, BMPWIN_SEARCH_FORM_T_CGX
	},
	{	// 検索ページ：下画面：並び順
		BMPWIN_SEARCH_D_ROW_P_FRM, BMPWIN_SEARCH_ROW_P_PX, BMPWIN_SEARCH_ROW_P_PY,
		BMPWIN_SEARCH_ROW_P_SX, BMPWIN_SEARCH_ROW_P_SY, BMPWIN_SEARCH_ROW_P_PAL, BMPWIN_SEARCH_ROW_P_CGX
	},
	{	// 検索ページ：下画面：名前
		BMPWIN_SEARCH_D_NAME_P_FRM, BMPWIN_SEARCH_NAME_P_PX, BMPWIN_SEARCH_NAME_P_PY,
		BMPWIN_SEARCH_NAME_P_SX, BMPWIN_SEARCH_NAME_P_SY, BMPWIN_SEARCH_NAME_P_PAL, BMPWIN_SEARCH_NAME_P_CGX
	},
	{	// 検索ページ：下画面：タイプ１
		BMPWIN_SEARCH_D_TYPE1_P_FRM, BMPWIN_SEARCH_TYPE1_P_PX, BMPWIN_SEARCH_TYPE1_P_PY,
		BMPWIN_SEARCH_TYPE1_P_SX, BMPWIN_SEARCH_TYPE1_P_SY, BMPWIN_SEARCH_TYPE1_P_PAL, BMPWIN_SEARCH_TYPE1_P_CGX
	},
	{	// 検索ページ：下画面：タイプ２
		BMPWIN_SEARCH_D_TYPE2_P_FRM, BMPWIN_SEARCH_TYPE2_P_PX, BMPWIN_SEARCH_TYPE2_P_PY,
		BMPWIN_SEARCH_TYPE2_P_SX, BMPWIN_SEARCH_TYPE2_P_SY, BMPWIN_SEARCH_TYPE2_P_PAL, BMPWIN_SEARCH_TYPE2_P_CGX
	},
	{	// 検索ページ：下画面：高さ（低）
		BMPWIN_SEARCH_D_HL_P_FRM, BMPWIN_SEARCH_HL_P_PX, BMPWIN_SEARCH_HL_P_PY,
		BMPWIN_SEARCH_HL_P_SX, BMPWIN_SEARCH_HL_P_SY, BMPWIN_SEARCH_HL_P_PAL, BMPWIN_SEARCH_HL_P_CGX
	},
	{	// 検索ページ：下画面：高さ（高）
		BMPWIN_SEARCH_D_HH_P_FRM, BMPWIN_SEARCH_HH_P_PX, BMPWIN_SEARCH_HH_P_PY,
		BMPWIN_SEARCH_HH_P_SX, BMPWIN_SEARCH_HH_P_SY, BMPWIN_SEARCH_HH_P_PAL, BMPWIN_SEARCH_HH_P_CGX
	},
	{	// 検索ページ：下画面：重さ（低）
		BMPWIN_SEARCH_D_WL_P_FRM, BMPWIN_SEARCH_WL_P_PX, BMPWIN_SEARCH_WL_P_PY,
		BMPWIN_SEARCH_WL_P_SX, BMPWIN_SEARCH_WL_P_SY, BMPWIN_SEARCH_WL_P_PAL, BMPWIN_SEARCH_WL_P_CGX
	},
	{	// 検索ページ：下画面：重さ（高）
		BMPWIN_SEARCH_D_WH_P_FRM, BMPWIN_SEARCH_WH_P_PX, BMPWIN_SEARCH_WH_P_PY,
		BMPWIN_SEARCH_WH_P_SX, BMPWIN_SEARCH_WH_P_SY, BMPWIN_SEARCH_WH_P_PAL, BMPWIN_SEARCH_WH_P_CGX
	},
	{	// 検索ページ：下画面：地域
		BMPWIN_SEARCH_D_AREA_P_FRM, BMPWIN_SEARCH_AREA_P_PX, BMPWIN_SEARCH_AREA_P_PY,
		BMPWIN_SEARCH_AREA_P_SX, BMPWIN_SEARCH_AREA_P_SY, BMPWIN_SEARCH_AREA_P_PAL, BMPWIN_SEARCH_AREA_P_CGX
	},

	{	// 検索ページ・並び順選択：「ならびじゅん」
		BMPWIN_SEARCH_ROW_TITLE_FRM, BMPWIN_SEARCH_ROW_TITLE_PX, BMPWIN_SEARCH_ROW_TITLE_PY,
		BMPWIN_SEARCH_ROW_TITLE_SX, BMPWIN_SEARCH_ROW_TITLE_SY, BMPWIN_SEARCH_ROW_TITLE_PAL, BMPWIN_SEARCH_ROW_TITLE_CGX
	},
	{	// 検索ページ・並び順選択：現在のモード
		BMPWIN_SEARCH_ROW_MODE_FRM, BMPWIN_SEARCH_ROW_MODE_PX, BMPWIN_SEARCH_ROW_MODE_PY,
		BMPWIN_SEARCH_ROW_MODE_SX, BMPWIN_SEARCH_ROW_MODE_SY, BMPWIN_SEARCH_ROW_MODE_PAL, BMPWIN_SEARCH_ROW_MODE_CGX
	},
	{	// 検索ページ・並び順選択：「ばんごう」
		BMPWIN_SEARCH_ROW_NUM_FRM, BMPWIN_SEARCH_ROW_NUM_PX, BMPWIN_SEARCH_ROW_NUM_PY,
		BMPWIN_SEARCH_ROW_NUM_SX, BMPWIN_SEARCH_ROW_NUM_SY, BMPWIN_SEARCH_ROW_NUM_PAL, BMPWIN_SEARCH_ROW_NUM_CGX
	},
	{	// 検索ページ・並び順選択：「ごじゅうおん」
		BMPWIN_SEARCH_ROW_STR_FRM, BMPWIN_SEARCH_ROW_STR_PX, BMPWIN_SEARCH_ROW_STR_PY,
		BMPWIN_SEARCH_ROW_STR_SX, BMPWIN_SEARCH_ROW_STR_SY, BMPWIN_SEARCH_ROW_STR_PAL, BMPWIN_SEARCH_ROW_STR_CGX
	},
	{	// 検索ページ・並び順選択：「おもい」
		BMPWIN_SEARCH_ROW_WH_FRM, BMPWIN_SEARCH_ROW_WH_PX, BMPWIN_SEARCH_ROW_WH_PY,
		BMPWIN_SEARCH_ROW_WH_SX, BMPWIN_SEARCH_ROW_WH_SY, BMPWIN_SEARCH_ROW_WH_PAL, BMPWIN_SEARCH_ROW_WH_CGX
	},
	{	// 検索ページ・並び順選択：「かるい」
		BMPWIN_SEARCH_ROW_WL_FRM, BMPWIN_SEARCH_ROW_WL_PX, BMPWIN_SEARCH_ROW_WL_PY,
		BMPWIN_SEARCH_ROW_WL_SX, BMPWIN_SEARCH_ROW_WL_SY, BMPWIN_SEARCH_ROW_WL_PAL, BMPWIN_SEARCH_ROW_WL_CGX
	},
	{	// 検索ページ・並び順選択：「たかい」
		BMPWIN_SEARCH_ROW_HH_FRM, BMPWIN_SEARCH_ROW_HH_PX, BMPWIN_SEARCH_ROW_HH_PY,
		BMPWIN_SEARCH_ROW_HH_SX, BMPWIN_SEARCH_ROW_HH_SY, BMPWIN_SEARCH_ROW_HH_PAL, BMPWIN_SEARCH_ROW_HH_CGX
	},
	{	// 検索ページ・並び順選択：「ひくい」
		BMPWIN_SEARCH_ROW_HL_FRM, BMPWIN_SEARCH_ROW_HL_PX, BMPWIN_SEARCH_ROW_HL_PY,
		BMPWIN_SEARCH_ROW_HL_SX, BMPWIN_SEARCH_ROW_HL_SY, BMPWIN_SEARCH_ROW_HL_PAL, BMPWIN_SEARCH_ROW_HL_CGX
	},
	{	// 検索ページ・タイプ選択：「タイプ」
		BMPWIN_SEARCH_TYPE_TITLE_FRM, BMPWIN_SEARCH_TYPE_TITLE_PX, BMPWIN_SEARCH_TYPE_TITLE_PY,
		BMPWIN_SEARCH_TYPE_TITLE_SX, BMPWIN_SEARCH_TYPE_TITLE_SY, BMPWIN_SEARCH_TYPE_TITLE_PAL, BMPWIN_SEARCH_TYPE_TITLE_CGX
	},
	{	// 検索ページ・タイプ選択：選択したタイプ１
		BMPWIN_SEARCH_TYPE_SEL_FRM, BMPWIN_SEARCH_TYPE_SEL1_PX, BMPWIN_SEARCH_TYPE_SEL1_PY,
		BMPWIN_SEARCH_TYPE_SEL_SX, BMPWIN_SEARCH_TYPE_SEL_SY, BMPWIN_SEARCH_TYPE_SEL_PAL, BMPWIN_SEARCH_TYPE_SEL1_CGX
	},
	{	// 検索ページ・タイプ選択：選択したタイプ２
		BMPWIN_SEARCH_TYPE_SEL_FRM, BMPWIN_SEARCH_TYPE_SEL2_PX, BMPWIN_SEARCH_TYPE_SEL2_PY,
		BMPWIN_SEARCH_TYPE_SEL_SX, BMPWIN_SEARCH_TYPE_SEL_SY, BMPWIN_SEARCH_TYPE_SEL_PAL, BMPWIN_SEARCH_TYPE_SEL2_CGX
	},
	{	// 検索ページ・タイプ選択：タイプ１
		BMPWIN_SEARCH_TYPE_PRM_FRM, BMPWIN_SEARCH_TYPE_PRM1_PX, BMPWIN_SEARCH_TYPE_PRM1_PY,
		BMPWIN_SEARCH_TYPE_PRM_SX, BMPWIN_SEARCH_TYPE_PRM_SY, BMPWIN_SEARCH_TYPE_PRM_PAL, BMPWIN_SEARCH_TYPE_PRM1_CGX
	},
	{	// 検索ページ・タイプ選択：タイプ２
		BMPWIN_SEARCH_TYPE_PRM_FRM, BMPWIN_SEARCH_TYPE_PRM2_PX, BMPWIN_SEARCH_TYPE_PRM2_PY,
		BMPWIN_SEARCH_TYPE_PRM_SX, BMPWIN_SEARCH_TYPE_PRM_SY, BMPWIN_SEARCH_TYPE_PRM_PAL, BMPWIN_SEARCH_TYPE_PRM2_CGX
	},
	{	// 検索ページ・タイプ選択：タイプ３
		BMPWIN_SEARCH_TYPE_PRM_FRM, BMPWIN_SEARCH_TYPE_PRM3_PX, BMPWIN_SEARCH_TYPE_PRM3_PY,
		BMPWIN_SEARCH_TYPE_PRM_SX, BMPWIN_SEARCH_TYPE_PRM_SY, BMPWIN_SEARCH_TYPE_PRM_PAL, BMPWIN_SEARCH_TYPE_PRM3_CGX
	},
	{	// 検索ページ・タイプ選択：タイプ４
		BMPWIN_SEARCH_TYPE_PRM_FRM, BMPWIN_SEARCH_TYPE_PRM4_PX, BMPWIN_SEARCH_TYPE_PRM4_PY,
		BMPWIN_SEARCH_TYPE_PRM_SX, BMPWIN_SEARCH_TYPE_PRM_SY, BMPWIN_SEARCH_TYPE_PRM_PAL, BMPWIN_SEARCH_TYPE_PRM4_CGX
	},
	{	// 検索ページ・タイプ選択：タイプ５
		BMPWIN_SEARCH_TYPE_PRM_FRM, BMPWIN_SEARCH_TYPE_PRM5_PX, BMPWIN_SEARCH_TYPE_PRM5_PY,
		BMPWIN_SEARCH_TYPE_PRM_SX, BMPWIN_SEARCH_TYPE_PRM_SY, BMPWIN_SEARCH_TYPE_PRM_PAL, BMPWIN_SEARCH_TYPE_PRM5_CGX
	},
	{	// 検索ページ・タイプ選択：タイプ６
		BMPWIN_SEARCH_TYPE_PRM_FRM, BMPWIN_SEARCH_TYPE_PRM6_PX, BMPWIN_SEARCH_TYPE_PRM6_PY,
		BMPWIN_SEARCH_TYPE_PRM_SX, BMPWIN_SEARCH_TYPE_PRM_SY, BMPWIN_SEARCH_TYPE_PRM_PAL, BMPWIN_SEARCH_TYPE_PRM6_CGX
	},
	{	// 検索ページ・タイプ選択：タイプ７
		BMPWIN_SEARCH_TYPE_PRM_FRM, BMPWIN_SEARCH_TYPE_PRM7_PX, BMPWIN_SEARCH_TYPE_PRM7_PY,
		BMPWIN_SEARCH_TYPE_PRM_SX, BMPWIN_SEARCH_TYPE_PRM_SY, BMPWIN_SEARCH_TYPE_PRM_PAL, BMPWIN_SEARCH_TYPE_PRM7_CGX
	},
	{	// 検索ページ・タイプ選択：タイプ８
		BMPWIN_SEARCH_TYPE_PRM_FRM, BMPWIN_SEARCH_TYPE_PRM8_PX, BMPWIN_SEARCH_TYPE_PRM8_PY,
		BMPWIN_SEARCH_TYPE_PRM_SX, BMPWIN_SEARCH_TYPE_PRM_SY, BMPWIN_SEARCH_TYPE_PRM_PAL, BMPWIN_SEARCH_TYPE_PRM8_CGX
	},
	{	// 検索ページ・タイプ選択：タイプ９
		BMPWIN_SEARCH_TYPE_PRM_FRM, BMPWIN_SEARCH_TYPE_PRM9_PX, BMPWIN_SEARCH_TYPE_PRM9_PY,
		BMPWIN_SEARCH_TYPE_PRM_SX, BMPWIN_SEARCH_TYPE_PRM_SY, BMPWIN_SEARCH_TYPE_PRM_PAL, BMPWIN_SEARCH_TYPE_PRM9_CGX
	},
	{	// 検索ページ・タイプ選択：タイプ１０
		BMPWIN_SEARCH_TYPE_PRM_FRM, BMPWIN_SEARCH_TYPE_PRM10_PX, BMPWIN_SEARCH_TYPE_PRM10_PY,
		BMPWIN_SEARCH_TYPE_PRM_SX, BMPWIN_SEARCH_TYPE_PRM_SY, BMPWIN_SEARCH_TYPE_PRM_PAL, BMPWIN_SEARCH_TYPE_PRM10_CGX
	},
	{	// 検索ページ・タイプ選択：タイプ１１
		BMPWIN_SEARCH_TYPE_PRM_FRM, BMPWIN_SEARCH_TYPE_PRM11_PX, BMPWIN_SEARCH_TYPE_PRM11_PY,
		BMPWIN_SEARCH_TYPE_PRM_SX, BMPWIN_SEARCH_TYPE_PRM_SY, BMPWIN_SEARCH_TYPE_PRM_PAL, BMPWIN_SEARCH_TYPE_PRM11_CGX
	},
	{	// 検索ページ・タイプ選択：タイプ１２
		BMPWIN_SEARCH_TYPE_PRM_FRM, BMPWIN_SEARCH_TYPE_PRM12_PX, BMPWIN_SEARCH_TYPE_PRM12_PY,
		BMPWIN_SEARCH_TYPE_PRM_SX, BMPWIN_SEARCH_TYPE_PRM_SY, BMPWIN_SEARCH_TYPE_PRM_PAL, BMPWIN_SEARCH_TYPE_PRM12_CGX
	},
	{	// 検索ページ・タイプ選択：タイプ１３
		BMPWIN_SEARCH_TYPE_PRM_FRM, BMPWIN_SEARCH_TYPE_PRM13_PX, BMPWIN_SEARCH_TYPE_PRM13_PY,
		BMPWIN_SEARCH_TYPE_PRM_SX, BMPWIN_SEARCH_TYPE_PRM_SY, BMPWIN_SEARCH_TYPE_PRM_PAL, BMPWIN_SEARCH_TYPE_PRM13_CGX
	},
	{	// 検索ページ・タイプ選択：タイプ１４
		BMPWIN_SEARCH_TYPE_PRM_FRM, BMPWIN_SEARCH_TYPE_PRM14_PX, BMPWIN_SEARCH_TYPE_PRM14_PY,
		BMPWIN_SEARCH_TYPE_PRM_SX, BMPWIN_SEARCH_TYPE_PRM_SY, BMPWIN_SEARCH_TYPE_PRM_PAL, BMPWIN_SEARCH_TYPE_PRM14_CGX
	},
	{	// 検索ページ・タイプ選択：タイプ１５
		BMPWIN_SEARCH_TYPE_PRM_FRM, BMPWIN_SEARCH_TYPE_PRM15_PX, BMPWIN_SEARCH_TYPE_PRM15_PY,
		BMPWIN_SEARCH_TYPE_PRM_SX, BMPWIN_SEARCH_TYPE_PRM_SY, BMPWIN_SEARCH_TYPE_PRM_PAL, BMPWIN_SEARCH_TYPE_PRM15_CGX
	},
	{	// 検索ページ・タイプ選択：タイプ１６
		BMPWIN_SEARCH_TYPE_PRM_FRM, BMPWIN_SEARCH_TYPE_PRM16_PX, BMPWIN_SEARCH_TYPE_PRM16_PY,
		BMPWIN_SEARCH_TYPE_PRM_SX, BMPWIN_SEARCH_TYPE_PRM_SY, BMPWIN_SEARCH_TYPE_PRM_PAL, BMPWIN_SEARCH_TYPE_PRM16_CGX
	},
	{	// 検索ページ・タイプ選択：タイプ１７
		BMPWIN_SEARCH_TYPE_PRM_FRM, BMPWIN_SEARCH_TYPE_PRM17_PX, BMPWIN_SEARCH_TYPE_PRM17_PY,
		BMPWIN_SEARCH_TYPE_PRM_SX, BMPWIN_SEARCH_TYPE_PRM_SY, BMPWIN_SEARCH_TYPE_PRM_PAL, BMPWIN_SEARCH_TYPE_PRM17_CGX
	},
	{	// 検索ページ・タイプ選択：タイプ１８
		BMPWIN_SEARCH_TYPE_PRM_FRM, BMPWIN_SEARCH_TYPE_PRM18_PX, BMPWIN_SEARCH_TYPE_PRM18_PY,
		BMPWIN_SEARCH_TYPE_PRM_SX, BMPWIN_SEARCH_TYPE_PRM_SY, BMPWIN_SEARCH_TYPE_PRM_PAL, BMPWIN_SEARCH_TYPE_PRM18_CGX
	},
	{	// 検索ページ・名前選択：「なまえ」
		BMPWIN_SEARCH_NAME_TITLE_FRM, BMPWIN_SEARCH_NAME_TITLE_PX, BMPWIN_SEARCH_NAME_TITLE_PY,
		BMPWIN_SEARCH_NAME_TITLE_SX, BMPWIN_SEARCH_NAME_TITLE_SY, BMPWIN_SEARCH_NAME_TITLE_PAL, BMPWIN_SEARCH_NAME_TITLE_CGX
	},
	{	// 検索ページ・名前選択：名前
		BMPWIN_SEARCH_NAME_SEL_FRM, BMPWIN_SEARCH_NAME_SEL_PX, BMPWIN_SEARCH_NAME_SEL_PY,
		BMPWIN_SEARCH_NAME_SEL_SX, BMPWIN_SEARCH_NAME_SEL_SY, BMPWIN_SEARCH_NAME_SEL_PAL, BMPWIN_SEARCH_NAME_SEL_CGX
	},
	{	// 検索ページ・名前選択：入力エリア
		BMPWIN_SEARCH_NAME_AREA_FRM, BMPWIN_SEARCH_NAME_AREA_PX, BMPWIN_SEARCH_NAME_AREA_PY,
		BMPWIN_SEARCH_NAME_AREA_SX, BMPWIN_SEARCH_NAME_AREA_SY, BMPWIN_SEARCH_NAME_AREA_PAL, BMPWIN_SEARCH_NAME_AREA_CGX
	},

	{	// 検索ページ・高さ選択：「たかさ」
		BMPWIN_SEARCH_HEIGHT_TITLE_FRM, BMPWIN_SEARCH_HEIGHT_TITLE_PX, BMPWIN_SEARCH_HEIGHT_TITLE_PY,
		BMPWIN_SEARCH_HEIGHT_TITLE_SX, BMPWIN_SEARCH_HEIGHT_TITLE_SY, BMPWIN_SEARCH_HEIGHT_TITLE_PAL, BMPWIN_SEARCH_HEIGHT_TITLE_CGX
	},
	{	// 検索ページ・高さ選択：高さ（低）
		BMPWIN_SEARCH_HEIGHT_L_FRM, BMPWIN_SEARCH_HEIGHT_L_PX, BMPWIN_SEARCH_HEIGHT_L_PY,
		BMPWIN_SEARCH_HEIGHT_L_SX, BMPWIN_SEARCH_HEIGHT_L_SY, BMPWIN_SEARCH_HEIGHT_L_PAL, BMPWIN_SEARCH_HEIGHT_L_CGX
	},
	{	// 検索ページ・高さ選択：高さ（高）
		BMPWIN_SEARCH_HEIGHT_H_FRM, BMPWIN_SEARCH_HEIGHT_H_PX, BMPWIN_SEARCH_HEIGHT_H_PY,
		BMPWIN_SEARCH_HEIGHT_H_SX, BMPWIN_SEARCH_HEIGHT_H_SY, BMPWIN_SEARCH_HEIGHT_H_PAL, BMPWIN_SEARCH_HEIGHT_H_CGX
	},

	{	// 検索ページ・重さ選択：「おもさ」
		BMPWIN_SEARCH_WEIGHT_TITLE_FRM, BMPWIN_SEARCH_WEIGHT_TITLE_PX, BMPWIN_SEARCH_WEIGHT_TITLE_PY,
		BMPWIN_SEARCH_WEIGHT_TITLE_SX, BMPWIN_SEARCH_WEIGHT_TITLE_SY, BMPWIN_SEARCH_WEIGHT_TITLE_PAL, BMPWIN_SEARCH_WEIGHT_TITLE_CGX
	},
	{	// 検索ページ・重さ選択：重さ（低）
		BMPWIN_SEARCH_WEIGHT_L_FRM, BMPWIN_SEARCH_WEIGHT_L_PX, BMPWIN_SEARCH_WEIGHT_L_PY,
		BMPWIN_SEARCH_WEIGHT_L_SX, BMPWIN_SEARCH_WEIGHT_L_SY, BMPWIN_SEARCH_WEIGHT_L_PAL, BMPWIN_SEARCH_WEIGHT_L_CGX
	},
	{	// 検索ページ・重さ選択：重さ（高）
		BMPWIN_SEARCH_WEIGHT_H_FRM, BMPWIN_SEARCH_WEIGHT_H_PX, BMPWIN_SEARCH_WEIGHT_H_PY,
		BMPWIN_SEARCH_WEIGHT_H_SX, BMPWIN_SEARCH_WEIGHT_H_SY, BMPWIN_SEARCH_WEIGHT_H_PAL, BMPWIN_SEARCH_WEIGHT_H_CGX
	},

	{	// 検索ページ・地域選択：「ちいき」
		BMPWIN_SEARCH_AREA_TITLE_FRM, BMPWIN_SEARCH_AREA_TITLE_PX, BMPWIN_SEARCH_AREA_TITLE_PY,
		BMPWIN_SEARCH_AREA_TITLE_SX, BMPWIN_SEARCH_AREA_TITLE_SY, BMPWIN_SEARCH_AREA_TITLE_PAL, BMPWIN_SEARCH_AREA_TITLE_CGX
	},
	{	// 検索ページ・地域選択：選択した地域
		BMPWIN_SEARCH_AREA_SEL_FRM, BMPWIN_SEARCH_AREA_SEL_PX, BMPWIN_SEARCH_AREA_SEL_PY,
		BMPWIN_SEARCH_AREA_SEL_SX, BMPWIN_SEARCH_AREA_SEL_SY, BMPWIN_SEARCH_AREA_SEL_PAL, BMPWIN_SEARCH_AREA_SEL_CGX
	},
	{	// 検索ページ・地域選択：「ジョウト」
		BMPWIN_SEARCH_AREA_PRM_FRM, BMPWIN_SEARCH_AREA_PRM1_PX, BMPWIN_SEARCH_AREA_PRM1_PY,
		BMPWIN_SEARCH_AREA_PRM_SX, BMPWIN_SEARCH_AREA_PRM_SY, BMPWIN_SEARCH_AREA_PRM_PAL, BMPWIN_SEARCH_AREA_PRM1_CGX
	},
	{	// 検索ページ・地域選択：「カントー」
		BMPWIN_SEARCH_AREA_PRM_FRM, BMPWIN_SEARCH_AREA_PRM2_PX, BMPWIN_SEARCH_AREA_PRM2_PY,
		BMPWIN_SEARCH_AREA_PRM_SX, BMPWIN_SEARCH_AREA_PRM_SY, BMPWIN_SEARCH_AREA_PRM_PAL, BMPWIN_SEARCH_AREA_PRM2_CGX
	},
	{	// 検索ページ・地域選択：「ふめい」
		BMPWIN_SEARCH_AREA_PRM_FRM, BMPWIN_SEARCH_AREA_PRM3_PX, BMPWIN_SEARCH_AREA_PRM3_PY,
		BMPWIN_SEARCH_AREA_PRM_SX, BMPWIN_SEARCH_AREA_PRM_SY, BMPWIN_SEARCH_AREA_PRM_PAL, BMPWIN_SEARCH_AREA_PRM3_CGX
	},
	{	// 検索ページ・地域選択：「−−−−」
		BMPWIN_SEARCH_AREA_PRM_FRM, BMPWIN_SEARCH_AREA_PRM4_PX, BMPWIN_SEARCH_AREA_PRM4_PY,
		BMPWIN_SEARCH_AREA_PRM_SX, BMPWIN_SEARCH_AREA_PRM_SY, BMPWIN_SEARCH_AREA_PRM_PAL, BMPWIN_SEARCH_AREA_PRM4_CGX
	},
	{	// 検索ページ・形選択：「かたち」
		BMPWIN_SEARCH_FORM_TITLE_FRM, BMPWIN_SEARCH_FORM_TITLE_PX, BMPWIN_SEARCH_FORM_TITLE_PY,
		BMPWIN_SEARCH_FORM_TITLE_SX, BMPWIN_SEARCH_FORM_TITLE_SY, BMPWIN_SEARCH_FORM_TITLE_PAL, BMPWIN_SEARCH_FORM_TITLE_CGX
	},

	{	// リストページ：上画面・タイトル
		BMPWIN_LIST_U_TITLE_FRM, BMPWIN_LIST_U_TITLE_PX, BMPWIN_LIST_U_TITLE_PY,
		BMPWIN_LIST_U_TITLE_SX, BMPWIN_LIST_U_TITLE_SY, BMPWIN_LIST_U_TITLE_PAL, BMPWIN_LIST_U_TITLE_CGX
	},
	{	// リストページ：上画面・ポケモン番号
		BMPWIN_LIST_U_NUM_FRM, BMPWIN_LIST_U_NUM_PX, BMPWIN_LIST_U_NUM_PY,
		BMPWIN_LIST_U_NUM_SX, BMPWIN_LIST_U_NUM_SY, BMPWIN_LIST_U_NUM_PAL, BMPWIN_LIST_U_NUM_CGX
	},
	{	// リストページ：上画面・ポケモン名
		BMPWIN_LIST_U_POKE_FRM, BMPWIN_LIST_U_POKE_PX, BMPWIN_LIST_U_POKE_PY,
		BMPWIN_LIST_U_POKE_SX, BMPWIN_LIST_U_POKE_SY, BMPWIN_LIST_U_POKE_PAL, BMPWIN_LIST_U_POKE_CGX
	},
	{	// リストページ：上画面・ポケモン種類
		BMPWIN_LIST_U_TYPE_FRM, BMPWIN_LIST_U_TYPE_PX, BMPWIN_LIST_U_TYPE_PY,
		BMPWIN_LIST_U_TYPE_SX, BMPWIN_LIST_U_TYPE_SY, BMPWIN_LIST_U_TYPE_PAL, BMPWIN_LIST_U_TYPE_CGX
	},
	{	// リストページ：上画面・説明
		BMPWIN_LIST_U_INFO_FRM, BMPWIN_LIST_U_INFO_PX, BMPWIN_LIST_U_INFO_PY,
		BMPWIN_LIST_U_INFO_SX, BMPWIN_LIST_U_INFO_SY, BMPWIN_LIST_U_INFO_PAL, BMPWIN_LIST_U_INFO_CGX
	},
	{	// リストページ：上画面・高さ
		BMPWIN_LIST_U_HEIGHT_FRM, BMPWIN_LIST_U_HEIGHT_PX, BMPWIN_LIST_U_HEIGHT_PY,
		BMPWIN_LIST_U_HEIGHT_SX, BMPWIN_LIST_U_HEIGHT_SY, BMPWIN_LIST_U_HEIGHT_PAL, BMPWIN_LIST_U_HEIGHT_CGX
	},
	{	// リストページ：上画面・高さの数値
		BMPWIN_LIST_U_H_NUM_FRM, BMPWIN_LIST_U_H_NUM_PX, BMPWIN_LIST_U_H_NUM_PY,
		BMPWIN_LIST_U_H_NUM_SX, BMPWIN_LIST_U_H_NUM_SY, BMPWIN_LIST_U_H_NUM_PAL, BMPWIN_LIST_U_H_NUM_CGX
	},
	{	// リストページ：上画面・重さ
		BMPWIN_LIST_U_WEIGHT_FRM, BMPWIN_LIST_U_WEIGHT_PX, BMPWIN_LIST_U_WEIGHT_PY,
		BMPWIN_LIST_U_WEIGHT_SX, BMPWIN_LIST_U_WEIGHT_SY, BMPWIN_LIST_U_WEIGHT_PAL, BMPWIN_LIST_U_WEIGHT_CGX
	},
	{	// リストページ：上画面・重さの数値
		BMPWIN_LIST_U_W_NUM_FRM, BMPWIN_LIST_U_W_NUM_PX, BMPWIN_LIST_U_W_NUM_PY,
		BMPWIN_LIST_U_W_NUM_SX, BMPWIN_LIST_U_W_NUM_SY, BMPWIN_LIST_U_W_NUM_PAL, BMPWIN_LIST_U_W_NUM_CGX
	},
	{	// リストページ：上画面・外国語タイトル
		BMPWIN_LIST_U_LANG_L_FRM, BMPWIN_LIST_U_LANG_L_PX, BMPWIN_LIST_U_LANG_L_PY,
		BMPWIN_LIST_U_LANG_L_SX, BMPWIN_LIST_U_LANG_L_SY, BMPWIN_LIST_U_LANG_L_PAL, BMPWIN_LIST_U_LANG_L_CGX
	},
	{	// リストページ：上画面・外国語番号
		BMPWIN_LIST_U_LANG_I_FRM, BMPWIN_LIST_U_LANG_I_PX, BMPWIN_LIST_U_LANG_I_PY,
		BMPWIN_LIST_U_LANG_I_SX, BMPWIN_LIST_U_LANG_I_SY, BMPWIN_LIST_U_LANG_I_PAL, BMPWIN_LIST_U_LANG_I_CGX
	},
	{	// リストページ：上画面・外国語名
		BMPWIN_LIST_U_LANG_N_FRM, BMPWIN_LIST_U_LANG_N_PX, BMPWIN_LIST_U_LANG_N_PY,
		BMPWIN_LIST_U_LANG_N_SX, BMPWIN_LIST_U_LANG_N_SY, BMPWIN_LIST_U_LANG_N_PAL, BMPWIN_LIST_U_LANG_N_CGX
	},
	{	// リストページ：上画面・外国語種類
		BMPWIN_LIST_U_LANG_T_FRM, BMPWIN_LIST_U_LANG_T_PX, BMPWIN_LIST_U_LANG_T_PY,
		BMPWIN_LIST_U_LANG_T_SX, BMPWIN_LIST_U_LANG_T_SY, BMPWIN_LIST_U_LANG_T_PAL, BMPWIN_LIST_U_LANG_T_CGX
	},
	{	// 検索ページ：ポケモン名
		BMPWIN_SEARCH_LABEL_POKE_FRM, BMPWIN_SEARCH_LABEL_POKE_PX, BMPWIN_SEARCH_LABEL_POKE_PY,
		BMPWIN_SEARCH_LABEL_POKE_SX, BMPWIN_SEARCH_LABEL_POKE_SY, BMPWIN_SEARCH_LABEL_POKE_PAL, BMPWIN_SEARCH_LABEL_POKE_CGX
	},

	// このキャラ領域は使われていないので、トップページと同じ定義で良い。
	{	// 検索ページカバー：「みつけた　かず」
		BMPWIN_TOP_SEE_FRM, BMPWIN_TOP_SEE_PX, BMPWIN_TOP_SEE_PY,
		BMPWIN_TOP_SEE_SX, BMPWIN_TOP_SEE_SY, BMPWIN_TOP_SEE_PAL, BMPWIN_TOP_SEE_CGX
	},
	{	// 検索ページカバー：「つかまえた　かず」
		BMPWIN_TOP_GET_FRM,	BMPWIN_TOP_GET_PX, BMPWIN_TOP_GET_PY,
		BMPWIN_TOP_GET_SX, BMPWIN_TOP_GET_SY, BMPWIN_TOP_GET_PAL, BMPWIN_TOP_GET_CGX
	},
	{	// 検索ページカバー：発見数
		BMPWIN_TOP_SNUM_FRM, BMPWIN_TOP_SNUM_PX, BMPWIN_TOP_SNUM_PY,
		BMPWIN_TOP_SNUM_SX, BMPWIN_TOP_SNUM_SY, BMPWIN_TOP_SNUM_PAL, BMPWIN_TOP_SNUM1_CGX
	},
	{	// 検索ページカバー：発見数
		BMPWIN_TOP_SNUM_FRM, BMPWIN_TOP_SNUM_PX, BMPWIN_TOP_SNUM_PY,
		BMPWIN_TOP_SNUM_SX, BMPWIN_TOP_SNUM_SY, BMPWIN_TOP_SNUM_PAL, BMPWIN_TOP_SNUM2_CGX
	},
	{	// 検索ページカバー：捕獲数
		BMPWIN_TOP_GNUM_FRM, BMPWIN_TOP_GNUM_PX, BMPWIN_TOP_GNUM_PY,
		BMPWIN_TOP_GNUM_SX, BMPWIN_TOP_GNUM_SY, BMPWIN_TOP_GNUM_PAL, BMPWIN_TOP_GNUM1_CGX
	},
	{	// 検索ページカバー：捕獲数
		BMPWIN_TOP_GNUM_FRM, BMPWIN_TOP_GNUM_PX, BMPWIN_TOP_GNUM_PY,
		BMPWIN_TOP_GNUM_SX, BMPWIN_TOP_GNUM_SY, BMPWIN_TOP_GNUM_PAL, BMPWIN_TOP_GNUM2_CGX
	},
};

// 詳細・分布ページ
static const BMPWIN_DAT EncountPageBmpWinData[] =
{
	{	// 詳細・分布ページ：上画面タイトル
		BMPWIN_ENC_U_TITLE_FRM, BMPWIN_ENC_U_TITLE_PX, BMPWIN_ENC_U_TITLE_PY,
		BMPWIN_ENC_U_TITLE_SX, BMPWIN_ENC_U_TITLE_SY, BMPWIN_ENC_U_TITLE_PAL, BMPWIN_ENC_U_TITLE_CGX
	},
	{	// 詳細・分布ページ：上画面時間帯
		BMPWIN_ENC_U_TIME_FRM, BMPWIN_ENC_U_TIME_PX, BMPWIN_ENC_U_TIME_PY,
		BMPWIN_ENC_U_TIME_SX, BMPWIN_ENC_U_TIME_SY, BMPWIN_ENC_U_TIME_PAL, BMPWIN_ENC_U_TIME_CGX
	},
	{	// 詳細・分布ページ：上画面ポケモン名
		BMPWIN_ENC_U_NAME_FRM, BMPWIN_ENC_U_NAME_PX, BMPWIN_ENC_U_NAME_PY,
		BMPWIN_ENC_U_NAME_SX, BMPWIN_ENC_U_NAME_SY, BMPWIN_ENC_U_NAME_PAL, BMPWIN_ENC_U_NAME_CGX
	},
	{	// 詳細・分布ページ：上画面「せいそくち　ふめい」
		BMPWIN_ENC_U_ERROR_FRM, BMPWIN_ENC_U_ERROR_PX, BMPWIN_ENC_U_ERROR_PY,
		BMPWIN_ENC_U_ERROR_SX, BMPWIN_ENC_U_ERROR_SY, BMPWIN_ENC_U_ERROR_PAL, BMPWIN_ENC_U_ERROR_CGX
	},
	{	// 詳細・分布ページ：下画面「きりかえ」
		BMPWIN_ENC_D_CHANGE_FRM, BMPWIN_ENC_D_CHANGE_PX, BMPWIN_ENC_D_CHANGE_PY,
		BMPWIN_ENC_D_CHANGE_SX, BMPWIN_ENC_D_CHANGE_SY, BMPWIN_ENC_D_CHANGE_PAL, BMPWIN_ENC_D_CHANGE_CGX
	},
	{	// 詳細・分布ページ：下画面「ジョウト」（全国図鑑可）
		BMPWIN_ENC_D_JOHTO_FRM, BMPWIN_ENC_D_JOHTO1_PX, BMPWIN_ENC_D_JOHTO1_PY,
		BMPWIN_ENC_D_JOHTO_SX, BMPWIN_ENC_D_JOHTO_SY, BMPWIN_ENC_D_JOHTO_PAL, BMPWIN_ENC_D_JOHTO_CGX
	},
	{	// 詳細・分布ページ：下画面「ジョウト」（全国図鑑不可）
		BMPWIN_ENC_D_JOHTO_FRM, BMPWIN_ENC_D_JOHTO2_PX, BMPWIN_ENC_D_JOHTO2_PY,
		BMPWIN_ENC_D_JOHTO_SX, BMPWIN_ENC_D_JOHTO_SY, BMPWIN_ENC_D_JOHTO_PAL, BMPWIN_ENC_D_JOHTO_CGX
	},
	{	// 詳細・分布ページ：下画面「カントー」
		BMPWIN_ENC_D_KANTO_FRM, BMPWIN_ENC_D_KANTO_PX, BMPWIN_ENC_D_KANTO_PY,
		BMPWIN_ENC_D_KANTO_SX, BMPWIN_ENC_D_KANTO_SY, BMPWIN_ENC_D_KANTO_PAL, BMPWIN_ENC_D_KANTO_CGX
	},
	{	// 詳細・分布ページ：下画面地名１
		BMPWIN_ENC_D_LIST_FRM, BMPWIN_ENC_D_LIST_PX, BMPWIN_ENC_D_LIST1_PY,
		BMPWIN_ENC_D_LIST_SX, BMPWIN_ENC_D_LIST_SY, BMPWIN_ENC_D_LIST_PAL, BMPWIN_ENC_D_LIST1_CGX
	},
	{	// 詳細・分布ページ：下画面地名２
		BMPWIN_ENC_D_LIST_FRM, BMPWIN_ENC_D_LIST_PX, BMPWIN_ENC_D_LIST2_PY,
		BMPWIN_ENC_D_LIST_SX, BMPWIN_ENC_D_LIST_SY, BMPWIN_ENC_D_LIST_PAL, BMPWIN_ENC_D_LIST2_CGX
	},
	{	// 詳細・分布ページ：下画面地名３
		BMPWIN_ENC_D_LIST_FRM, BMPWIN_ENC_D_LIST_PX, BMPWIN_ENC_D_LIST3_PY,
		BMPWIN_ENC_D_LIST_SX, BMPWIN_ENC_D_LIST_SY, BMPWIN_ENC_D_LIST_PAL, BMPWIN_ENC_D_LIST3_CGX
	},
	{	// 詳細・分布ページ：下画面地名４
		BMPWIN_ENC_D_LIST_FRM, BMPWIN_ENC_D_LIST_PX, BMPWIN_ENC_D_LIST4_PY,
		BMPWIN_ENC_D_LIST_SX, BMPWIN_ENC_D_LIST_SY, BMPWIN_ENC_D_LIST_PAL, BMPWIN_ENC_D_LIST4_CGX
	},
	{	// 詳細・分布ページ：下画面地名５
		BMPWIN_ENC_D_LIST_FRM, BMPWIN_ENC_D_LIST_PX, BMPWIN_ENC_D_LIST5_PY,
		BMPWIN_ENC_D_LIST_SX, BMPWIN_ENC_D_LIST_SY, BMPWIN_ENC_D_LIST_PAL, BMPWIN_ENC_D_LIST5_CGX
	},
	{	// 詳細・分布ページ：下画面地名６
		BMPWIN_ENC_D_LIST_FRM, BMPWIN_ENC_D_LIST_PX, BMPWIN_ENC_D_LIST6_PY,
		BMPWIN_ENC_D_LIST_SX, BMPWIN_ENC_D_LIST_SY, BMPWIN_ENC_D_LIST_PAL, BMPWIN_ENC_D_LIST6_CGX
	},
};

// 詳細・大きさページ
static const BMPWIN_DAT SizePageBmpWinData[] =
{
	{	// 詳細・大きさページ：上画面タイトル
		BMPWIN_SIZE_U_TITLE_FRM, BMPWIN_SIZE_U_TITLE_PX, BMPWIN_SIZE_U_TITLE_PY,
		BMPWIN_SIZE_U_TITLE_SX, BMPWIN_SIZE_U_TITLE_SY, BMPWIN_SIZE_U_TITLE_PAL, BMPWIN_SIZE_U_TITLE_CGX
	},
	{	// 詳細・大きさページ：上画面ポケモン名
		BMPWIN_SIZE_U_POKENAME_FRM, BMPWIN_SIZE_U_POKENAME_PX, BMPWIN_SIZE_U_POKENAME_PY,
		BMPWIN_SIZE_U_POKENAME_SX, BMPWIN_SIZE_U_POKENAME_SY, BMPWIN_SIZE_U_POKENAME_PAL, BMPWIN_SIZE_U_POKENAME_CGX
	},
	{	// 詳細・大きさページ：上画面主人公名
		BMPWIN_SIZE_U_MYNAME_FRM, BMPWIN_SIZE_U_MYNAME_PX, BMPWIN_SIZE_U_MYNAME_PY,
		BMPWIN_SIZE_U_MYNAME_SX, BMPWIN_SIZE_U_MYNAME_SY, BMPWIN_SIZE_U_MYNAME_PAL, BMPWIN_SIZE_U_MYNAME_CGX
	},
	{	// 詳細・大きさページ：「おおきさくらべ」
		BMPWIN_SIZE_U_KURABE_FRM, BMPWIN_SIZE_U_KURABE_PX, BMPWIN_SIZE_U_KURABE_PY,
		BMPWIN_SIZE_U_KURABE_SX, BMPWIN_SIZE_U_KURABE_SY, BMPWIN_SIZE_U_KURABE_PAL, BMPWIN_SIZE_U_KURABE_CGX
	},
	{	// 詳細・大きさページ：ポケモン「たかさ」
		BMPWIN_SIZE_U_POKE_HT_FRM, BMPWIN_SIZE_U_POKE_HT_PX, BMPWIN_SIZE_U_POKE_HT_PY,
		BMPWIN_SIZE_U_POKE_HT_SX, BMPWIN_SIZE_U_POKE_HT_SY, BMPWIN_SIZE_U_POKE_HT_PAL, BMPWIN_SIZE_U_POKE_HT_CGX
	},
	{	// 詳細・大きさページ：ポケモン高さ
		BMPWIN_SIZE_U_POKE_HP_FRM, BMPWIN_SIZE_U_POKE_HP_PX, BMPWIN_SIZE_U_POKE_HP_PY,
		BMPWIN_SIZE_U_POKE_HP_SX, BMPWIN_SIZE_U_POKE_HP_SY, BMPWIN_SIZE_U_POKE_HP_PAL, BMPWIN_SIZE_U_POKE_HP_CGX
	},
	{	// 詳細・大きさページ：自分「高さ」
		BMPWIN_SIZE_U_MY_HT_FRM, BMPWIN_SIZE_U_MY_HT_PX, BMPWIN_SIZE_U_MY_HT_PY,
		BMPWIN_SIZE_U_MY_HT_SX, BMPWIN_SIZE_U_MY_HT_SY, BMPWIN_SIZE_U_MY_HT_PAL, BMPWIN_SIZE_U_MY_HT_CGX
	},
	{	// 詳細・大きさページ：自分高さ
		BMPWIN_SIZE_U_MY_HP_FRM, BMPWIN_SIZE_U_MY_HP_PX, BMPWIN_SIZE_U_MY_HP_PY,
		BMPWIN_SIZE_U_MY_HP_SX, BMPWIN_SIZE_U_MY_HP_SY, BMPWIN_SIZE_U_MY_HP_PAL, BMPWIN_SIZE_U_MY_HP_CGX
	},
	{	// 詳細・大きさページ：下画面「おもさ　くらべ」
		BMPWIN_SIZE_D_KURABE_FRM, BMPWIN_SIZE_D_KURABE_PX, BMPWIN_SIZE_D_KURABE_PY,
		BMPWIN_SIZE_D_KURABE_SX, BMPWIN_SIZE_D_KURABE_SY, BMPWIN_SIZE_D_KURABE_PAL, BMPWIN_SIZE_D_KURABE_CGX
	},
	{	// 詳細・大きさページ：下画面ポケモン「おもさ」
		BMPWIN_SIZE_D_POKE_WT_FRM, BMPWIN_SIZE_D_POKE_WT_PX, BMPWIN_SIZE_D_POKE_WT_PY,
		BMPWIN_SIZE_D_POKE_WT_SX, BMPWIN_SIZE_D_POKE_WT_SY, BMPWIN_SIZE_D_POKE_WT_PAL, BMPWIN_SIZE_D_POKE_WT_CGX
	},
	{	// 詳細・大きさページ：ポケモンの重さ
		BMPWIN_SIZE_D_POKE_WP_FRM, BMPWIN_SIZE_D_POKE_WP_PX, BMPWIN_SIZE_D_POKE_WP_PY,
		BMPWIN_SIZE_D_POKE_WP_SX, BMPWIN_SIZE_D_POKE_WP_SY, BMPWIN_SIZE_D_POKE_WP_PAL, BMPWIN_SIZE_D_POKE_WP_CGX
	},
	{	// 詳細・大きさページ：下画面主人公「おもさ」
		BMPWIN_SIZE_D_MY_WT_FRM, BMPWIN_SIZE_D_MY_WT_PX, BMPWIN_SIZE_D_MY_WT_PY,
		BMPWIN_SIZE_D_MY_WT_SX, BMPWIN_SIZE_D_MY_WT_SY, BMPWIN_SIZE_D_MY_WT_PAL, BMPWIN_SIZE_D_MY_WT_CGX
	},
	{	// 詳細・大きさページ：下画面主人公の重さ
		BMPWIN_SIZE_D_MY_WP_FRM, BMPWIN_SIZE_D_MY_WP_PX, BMPWIN_SIZE_D_MY_WP_PY,
		BMPWIN_SIZE_D_MY_WP_SX, BMPWIN_SIZE_D_MY_WP_SY, BMPWIN_SIZE_D_MY_WP_PAL, BMPWIN_SIZE_D_MY_WP_CGX
	},
};

// 詳細・姿ページ
static const BMPWIN_DAT FormPageBmpWinData[] =
{
	{	// 詳細・姿ページ：上画面タイトル
		BMPWIN_FORM_U_TITLE_FRM, BMPWIN_FORM_U_TITLE_PX, BMPWIN_FORM_U_TITLE_PY,
		BMPWIN_FORM_U_TITLE_SX, BMPWIN_FORM_U_TITLE_SY, BMPWIN_FORM_U_TITLE_PAL, BMPWIN_FORM_U_TITLE_CGX
	},
	{	// 詳細・姿ページ：上画面名前
		BMPWIN_FORM_U_NAME_FRM, BMPWIN_FORM_U_NAME_PX, BMPWIN_FORM_U_NAME_PY,
		BMPWIN_FORM_U_NAME_SX, BMPWIN_FORM_U_NAME_SY, BMPWIN_FORM_U_NAME_PAL, BMPWIN_FORM_U_NAME_CGX
	},
	{	// 詳細・姿ページ：上画面フォルム名
		BMPWIN_FORM_U_FORM_FRM, BMPWIN_FORM_U_FORM_PX, BMPWIN_FORM_U_FORM_PY,
		BMPWIN_FORM_U_FORM_SX, BMPWIN_FORM_U_FORM_SY, BMPWIN_FORM_U_FORM_PAL, BMPWIN_FORM_U_FORM_CGX
	},
	{	// 詳細・姿ページ：上画面「〜を　みくらべる」
		BMPWIN_FORM_U_KURABERU_FRM, BMPWIN_FORM_U_KURABERU_PX, BMPWIN_FORM_U_KURABERU_PY,
		BMPWIN_FORM_U_KURABERU_SX, BMPWIN_FORM_U_KURABERU_SY, BMPWIN_FORM_U_KURABERU_PAL, BMPWIN_FORM_U_KURABERU_CGX
	},
	{	// 詳細・姿ページ：下画面「みくらべる」
		BMPWIN_FORM_D_KURABERU_FRM, BMPWIN_FORM_D_KURABERU_PX, BMPWIN_FORM_D_KURABERU_PY,
		BMPWIN_FORM_D_KURABERU_SX, BMPWIN_FORM_D_KURABERU_SY, BMPWIN_FORM_D_KURABERU_PAL, BMPWIN_FORM_D_KURABERU_CGX
	},
	{	// 詳細・姿ページ：下画面「すがた」
		BMPWIN_FORM_D_SUGATA_FRM, BMPWIN_FORM_D_SUGATA_PX, BMPWIN_FORM_D_SUGATA_PY,
		BMPWIN_FORM_D_SUGATA_SX, BMPWIN_FORM_D_SUGATA_SY, BMPWIN_FORM_D_SUGATA_PAL, BMPWIN_FORM_D_SUGATA_CGX
	},
	{	// 詳細・姿ページ：下画面フォルム名・左
		BMPWIN_FORM_D_FORM_L_FRM, BMPWIN_FORM_D_FORM_L_PX, BMPWIN_FORM_D_FORM_L_PY,
		BMPWIN_FORM_D_FORM_L_SX, BMPWIN_FORM_D_FORM_L_SY, BMPWIN_FORM_D_FORM_L_PAL, BMPWIN_FORM_D_FORM_L_CGX
	},
	{	// 詳細・姿ページ：下画面フォルム名・右
		BMPWIN_FORM_D_FORM_R_FRM, BMPWIN_FORM_D_FORM_R_PX, BMPWIN_FORM_D_FORM_R_PY,
		BMPWIN_FORM_D_FORM_R_SX, BMPWIN_FORM_D_FORM_R_SY, BMPWIN_FORM_D_FORM_R_PAL, BMPWIN_FORM_D_FORM_R_CGX
	},
	{	// 詳細・姿ページ：下画面「きりかえる」
		BMPWIN_FORM_D_CHANGE_FRM, BMPWIN_FORM_D_CHANGE_PX, BMPWIN_FORM_D_CHANGE_PY,
		BMPWIN_FORM_D_CHANGE_SX, BMPWIN_FORM_D_CHANGE_SY, BMPWIN_FORM_D_CHANGE_PAL, BMPWIN_FORM_D_CHANGE_CGX
	},
	{	// 詳細・姿ページ：下画面「もどる」
		BMPWIN_FORM_D_RET_FRM, BMPWIN_FORM_D_RET_PX, BMPWIN_FORM_D_RET_PY,
		BMPWIN_FORM_D_RET_SX, BMPWIN_FORM_D_RET_SY, BMPWIN_FORM_D_RET_PAL, BMPWIN_FORM_D_RET_CGX
	},
	{	// 詳細・姿ページ：下画面フォルム名１
		BMPWIN_FORM_D_FORM_FRM, BMPWIN_FORM_D_FORM1_PX, BMPWIN_FORM_D_FORM1_PY,
		BMPWIN_FORM_D_FORM_SX, BMPWIN_FORM_D_FORM_SY, BMPWIN_FORM_D_FORM_PAL, BMPWIN_FORM_D_FORM1_CGX
	},
	{	// 詳細・姿ページ：下画面フォルム名２
		BMPWIN_FORM_D_FORM_FRM, BMPWIN_FORM_D_FORM2_PX, BMPWIN_FORM_D_FORM2_PY,
		BMPWIN_FORM_D_FORM_SX, BMPWIN_FORM_D_FORM_SY, BMPWIN_FORM_D_FORM_PAL, BMPWIN_FORM_D_FORM2_CGX
	},
	{	// 詳細・姿ページ：下画面フォルム名３
		BMPWIN_FORM_D_FORM_FRM, BMPWIN_FORM_D_FORM3_PX, BMPWIN_FORM_D_FORM3_PY,
		BMPWIN_FORM_D_FORM_SX, BMPWIN_FORM_D_FORM_SY, BMPWIN_FORM_D_FORM_PAL, BMPWIN_FORM_D_FORM3_CGX
	},
	{	// 詳細・姿ページ：下画面フォルム名４
		BMPWIN_FORM_D_FORM_FRM, BMPWIN_FORM_D_FORM4_PX, BMPWIN_FORM_D_FORM4_PY,
		BMPWIN_FORM_D_FORM_SX, BMPWIN_FORM_D_FORM_SY, BMPWIN_FORM_D_FORM_PAL, BMPWIN_FORM_D_FORM4_CGX
	},
	{	// 詳細・姿ページ：下画面フォルム名５
		BMPWIN_FORM_D_FORM_FRM, BMPWIN_FORM_D_FORM5_PX, BMPWIN_FORM_D_FORM5_PY,
		BMPWIN_FORM_D_FORM_SX, BMPWIN_FORM_D_FORM_SY, BMPWIN_FORM_D_FORM_PAL, BMPWIN_FORM_D_FORM5_CGX
	},
	{	// 詳細・姿ページ：下画面フォルム名６
		BMPWIN_FORM_D_FORM_FRM, BMPWIN_FORM_D_FORM6_PX, BMPWIN_FORM_D_FORM6_PY,
		BMPWIN_FORM_D_FORM_SX, BMPWIN_FORM_D_FORM_SY, BMPWIN_FORM_D_FORM_PAL, BMPWIN_FORM_D_FORM6_CGX
	},
};

// 詳細・戻るページ
static const BMPWIN_DAT DetailRetPageBmpWinData[] =
{
	{	// 詳細・戻るページ：上画面タイトル
		BMPWIN_DRET_U_TITLE_FRM, BMPWIN_DRET_U_TITLE_PX, BMPWIN_DRET_U_TITLE_PY,
		BMPWIN_DRET_U_TITLE_SX, BMPWIN_DRET_U_TITLE_SY, BMPWIN_DRET_U_TITLE_PAL, BMPWIN_DRET_U_TITLE_CGX
	},
	{	// 詳細・戻るページ：下画面「戻る」
		BMPWIN_DRET_D_END_FRM, BMPWIN_DRET_D_END_PX, BMPWIN_DRET_D_END_PY,
		BMPWIN_DRET_D_END_SX, BMPWIN_DRET_D_END_SY, BMPWIN_DRET_D_END_PAL, BMPWIN_DRET_D_END_CGX
	}
};



//--------------------------------------------------------------------------------------------
/**
 * BMPWIN追加
 *
 * @param	wk		図鑑画面ワーク
 * @param	dat		追加データ
 * @param	max		追加数
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void BmpWinAdd( ZKN2_WORK * wk, const BMPWIN_DAT * dat, u32 max )
{
	u32	i;

	for( i=0; i<max; i++ ){
		GF_BGL_BmpWinAddEx( wk->bgl, &wk->win[i], &dat[i] );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * BMPWIN削除
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_Exit( ZKN2_WORK * wk )
{
	u32	i;

	for( i=0; i<ZKN2_BMPWIN_MAX; i++ ){
		if( wk->win[i].chrbuf == NULL ){ continue; }
		GF_BGL_BmpWinDel( &wk->win[i] );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * 文字列表示（可変文字列）
 *
 * @param	wk		図鑑画面ワーク
 * @param	man		メッセージマネージャ
 * @param	winID	BMPWIN ID
 * @param	msgID	文字列ＩＤ
 * @param	x		表示基準Ｘ座標
 * @param	y		表示基準Ｙ座標
 * @param	fnt		フォント
 * @param	col		カラー
 * @param	mode	表示モード
 *
 * @return	none
 *
 * @li	mode = ZKN2STR_PRINT_MODE_LEFT	: 左詰
 * @li	mode = ZKN2STR_PRINT_MODE_RIGHT	: 右詰
 * @li	mode = ZKN2STR_PRINT_MODE_CENTER	: 中央
 */
//--------------------------------------------------------------------------------------------
static void ExStrPrint(
				ZKN2_WORK * wk, MSGDATA_MANAGER * man,
				u32 winID, u32 msgID, u32 x, u32 y, FONT_TYPE fnt, GF_PRINTCOLOR col, u32 mode )
{
	STRBUF * str = MSGMAN_AllocString( man, msgID );

	WORDSET_ExpandStr( wk->wset, wk->expbuf, str );

	ZKN2STR_PrintCore( &wk->win[winID], wk->expbuf, x, y, fnt, col, mode );

	STRBUF_Delete( str );
}


//--------------------------------------------------------------------------------------------
/**
 * リストページのＢＭＰ追加
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_ListPageInit( ZKN2_WORK * wk )
{
	NUMFONT * nfnt;		// 8x8フォント
	u32	pos;
	u16	mons;

	BmpWinAdd( wk, TopPageBmpWinData, ZKN2_BMPWIN_TOP_MAX );

	CoverSeeGetPrint( wk, ZKN2_BMPWIN_TOP_SEE, ZNK_POKELIST_00 );
	CoverSeeGetPrint( wk, ZKN2_BMPWIN_TOP_GET, ZNK_POKELIST_01 );

	ZKN2BMP_CoverNumPrint( wk );

	pos  = ZKN2LIST_SelPosGet( wk );
	mons = ZKN2LIST_SelMonsGet( wk );

	ZKN2BMP_ListPokeInfoPut( wk, mons, pos );
	ZKN2BMP_ListPokeTextPut( wk, mons, pos );
}

//--------------------------------------------------------------------------------------------
/**
 * トップページ：「みつけたかず」「つかまえたかず」表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	ＢＭＰウィンドウＩＤ
 * @param	strID	文字列ＩＤ
 *
 * @return	none
 *
 *	strIDで指定されたものだけです
 */
//--------------------------------------------------------------------------------------------
static void CoverSeeGetPrintCore( ZKN2_WORK * wk, u32 winID, const u32 strID )
{
	void * buf;
	u8 * raw;
	NNSG2dCharacterData * chr;
	u32	i;

	buf = ArcUtil_HDL_CharDataGet(
			wk->graphic_ah, NARC_zukan_gra_zukan_gs_top_m_lz_NCGR, TRUE, &chr, HEAPID_ZUKAN );
	raw = chr->pRawData;

	for( i=0; i<BMPWIN_TOP_SEE_SX; i++ ){
		GF_BGL_BmpWinPrintEx(
			&wk->win[winID],
			&raw[COVER_SEEGET_CHR_U*0x20],
			0, 0, 8, 8, i*8, 0, 8, 8, 0xff );
		GF_BGL_BmpWinPrintEx(
			&wk->win[winID],
			&raw[COVER_SEEGET_CHR_D*0x20],
			0, 0, 8, 8, i*8, 8, 8, 8, 0xff );
	}

	ZKN2STR_Print(
		&wk->win[winID], wk->mman, strID,
		BMPWIN_TOP_SEE_SX*8, 0, FONT_SYSTEM, FNTCOL_SEEGET, ZKN2STR_PRINT_MODE_RIGHT );

	sys_FreeMemoryEz( buf );
}

//--------------------------------------------------------------------------------------------
/**
 * トップページ：「みつけたかず」「つかまえたかず」表示して転送リクエスト
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	ＢＭＰウィンドウＩＤ
 * @param	strID	文字列ＩＤ
 *
 * @return	none
 *
 *	strIDで指定されたものだけです
 */
//--------------------------------------------------------------------------------------------
static void CoverSeeGetPrint( ZKN2_WORK * wk, u32 winID, const u32 strID )
{
	CoverSeeGetPrintCore( wk, winID, strID );
	GF_BGL_BmpWinOnVReq( &wk->win[winID] );
}

//--------------------------------------------------------------------------------------------
/**
 * トップページ：発見数・捕獲数表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	ＢＭＰウィンドウＩＤ
 * @param	num		数
 *
 * @return	none
 *
 *	片方だけです
 */
//--------------------------------------------------------------------------------------------
static void CoverSeeGetNumPrintCore( ZKN2_WORK * wk, u32 winID, u32 num )
{
	NUMFONT * nfnt;		// 8x8フォント
	void * buf;
	u8 * raw;
	NNSG2dCharacterData * chr;
	u32	i;

	buf = ArcUtil_HDL_CharDataGet(
			wk->graphic_ah, NARC_zukan_gra_zukan_gs_top_m_lz_NCGR, TRUE, &chr, HEAPID_ZUKAN );
	raw = chr->pRawData;

	for( i=0; i<BMPWIN_TOP_SNUM_SX; i++ ){
		GF_BGL_BmpWinPrintEx(
			&wk->win[winID],
			&raw[COVER_SEEGETNUM_CHR_U*0x20],
			0, 0, 8, 8, i*8, 0, 8, 8, 0xff );
		GF_BGL_BmpWinPrintEx(
			&wk->win[winID],
			&raw[COVER_SEEGETNUM_CHR_D*0x20],
			0, 0, 8, 8, i*8, 8, 8, 8, 0xff );
	}

	sys_FreeMemoryEz( buf );

	nfnt = NUMFONT_Create( 15, 8, 7, HEAPID_ZUKAN );

	NUMFONT_WriteNumber(
		nfnt, num, 3,
		NUMFONT_MODE_ZERO, &wk->win[winID], 0, 4 );

	NUMFONT_Delete( nfnt );
}

//--------------------------------------------------------------------------------------------
/**
 * トップページ：発見数・捕獲数表示して転送リクエスト
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	ＢＭＰウィンドウＩＤ
 * @param	num		数
 *
 * @return	none
 *
 *	片方だけです
 */
//--------------------------------------------------------------------------------------------
static void CoverSeeGetNumPrint( ZKN2_WORK * wk, u32 winID, u32 num )
{
	CoverSeeGetNumPrintCore( wk, winID, num );
	GF_BGL_BmpWinOnVReq( &wk->win[winID] );
}

//--------------------------------------------------------------------------------------------
/**
 * トップページ：発見数・捕獲数表示
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_CoverNumPrint( ZKN2_WORK * wk )
{
	CoverSeeGetNumPrint( wk, ZKN2_BMPWIN_TOP_SNUM1+wk->num_swap, wk->mons_list.see_num );
	CoverSeeGetNumPrint( wk, ZKN2_BMPWIN_TOP_GNUM1+wk->num_swap, wk->mons_list.get_num );
	wk->num_swap ^= 1;
}


//--------------------------------------------------------------------------------------------
/**
 * リストページ：下画面のポケモン名表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	mons	ポケモン番号
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_ListLabelPokeNamePut( ZKN2_WORK * wk, u32 mons, u32 winID )
{
	STRBUF * str;

	if( mons != 0 ){
		GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );

		str = ZKN_WT_GetPokeName( mons, wk->lang, HEAPID_ZUKAN );

		if( ZukanWork_GetTextVersionUpMasterFlag(wk->dat->zukan_work) == TRUE ){
			// ポケモン名
			ZKN2STR_PrintCore(
				&wk->win[winID], str,
				LABEL_LANG_NAME_PX, 0, FONT_SYSTEM, FNTCOL_LANG, ZKN2STR_PRINT_MODE_CENTER );
		}else{
			// ポケモン名
			ZKN2STR_PrintCore(
				&wk->win[winID], str,
				LABEL_NAME_PX, 0, FONT_SYSTEM, FNTCOL_LANG, ZKN2STR_PRINT_MODE_CENTER );
		}

		STRBUF_Delete( str );

		GF_BGL_BmpWinOnVReq( &wk->win[winID] );
	}else{
		GF_BGL_BmpWinOffVReq( &wk->win[winID] );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * リストページ：言語共通ポケモン情報表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	mons	ポケモン番号
 * @param	pos		カーソル位置
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_ListPokeInfoPut( ZKN2_WORK * wk, u32 mons, u32 pos )
{
	ListPokeInfoTitlePut( wk, ZKN2_BMPWIN_LIST_U_TITLE );
	ListPokeInfoNumberPut( wk, mons, ZKN2_BMPWIN_LIST_U_NUM );
	ListPokeInfoNamePut( wk, mons, ZKN2_BMPWIN_LIST_U_POKE );
	ListPokeInfoTypePut( wk, mons, pos, ZKN2_BMPWIN_LIST_U_TYPE );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索ページのリスト：言語共通ポケモン情報表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	mons	ポケモン番号
 * @param	pos		カーソル位置
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchListPokeInfoPut( ZKN2_WORK * wk, u32 mons, u32 pos )
{
	ListPokeInfoTitlePut( wk, ZKN2_BMPWIN_SEARCH_TITLE );
	ListPokeInfoNumberPut( wk, mons, ZKN2_BMPWIN_SEARCH_NUM );
	ListPokeInfoNamePut( wk, mons, ZKN2_BMPWIN_SEARCH_POKE );
	ListPokeInfoTypePut( wk, mons, pos, ZKN2_BMPWIN_SEARCH_TYPE );
}

//--------------------------------------------------------------------------------------------
/**
 * リストページ：「せつめい」表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void ListPokeInfoTitlePut( ZKN2_WORK * wk, u32 winID )
{
	GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );
	ZKN2STR_Print(
		&wk->win[winID], wk->mman,
		ZNK_POKELIST_16, 0, 0, FONT_TOUCH, FNTCOL_LIST, ZKN2STR_PRINT_MODE_LEFT );
	GF_BGL_BmpWinOnVReq( &wk->win[winID] );
}

//--------------------------------------------------------------------------------------------
/**
 * リストページ：図鑑番号表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	mons	ポケモン番号
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void ListPokeInfoNumberPut( ZKN2_WORK * wk, u32 mons, u32 winID )
{
	GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );

	if( mons != 0 ){
		WORDSET_RegisterNumber(
			wk->wset, 0,
			PMNumber_GetPokeNumber(wk->zkn_mode,mons), 3, NUM_MODE_ZERO, NUMBER_CODETYPE_DEFAULT );
		ExStrPrint(
			wk, wk->mman, winID,
			ZNK_POKELIST_17, 0, 0, FONT_TOUCH, FNTCOL_LIST, ZKN2STR_PRINT_MODE_LEFT );

		GF_BGL_BmpWinOnVReq( &wk->win[winID] );
	}else{
		GF_BGL_BmpWinOffVReq( &wk->win[winID] );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * リストページ：ポケモン名表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	mons	ポケモン番号
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void ListPokeInfoNamePut( ZKN2_WORK * wk, u32 mons, u32 winID )
{
	STRBUF * str;

	GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );

	if( mons != 0 ){
		str = ZKN_WT_GetPokeName( mons, PM_LANG, HEAPID_ZUKAN );
		ZKN2STR_PrintCore(
			&wk->win[winID], str,
			0, 0, FONT_TOUCH, FNTCOL_LIST, ZKN2STR_PRINT_MODE_LEFT );
		STRBUF_Delete( str );
		GF_BGL_BmpWinOnVReq( &wk->win[winID] );
	}else{
		GF_BGL_BmpWinOffVReq( &wk->win[winID] );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * リストページ：ポケモン種類名表示（〜ポケモン）
 *
 * @param	wk		図鑑画面ワーク
 * @param	mons	ポケモン番号
 * @param	pos		リスト位置
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void ListPokeInfoTypePut( ZKN2_WORK * wk, u32 mons, u32 pos, u32 winID )
{
	STRBUF * str;

	GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );

	if( mons != 0 ){
		if( wk->list_put[pos].type == ZKN2LIST_REGTYPE_GET ){
			str = ZKN_WT_GetPokeType( mons, PM_LANG, HEAPID_ZUKAN );
		}else{
			str = ZKN_WT_GetPokeType( 0, PM_LANG, HEAPID_ZUKAN );
		}
		ZKN2STR_PrintCore(
			&wk->win[winID], str,
			0, 0, FONT_TOUCH, FNTCOL_LIST, ZKN2STR_PRINT_MODE_LEFT );
		STRBUF_Delete( str );
		GF_BGL_BmpWinOnVReq( &wk->win[winID] );
	}else{
		GF_BGL_BmpWinOffVReq( &wk->win[winID] );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * リストページ：言語ごとのポケモン情報表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	mons	ポケモン番号
 * @param	pos		カーソル位置
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_ListPokeTextPut( ZKN2_WORK * wk, u32 mons, u32 pos )
{
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_LIST_U_HEIGHT] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_LIST_U_WEIGHT] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_LIST_U_INFO] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_LIST_U_H_NUM] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_LIST_U_W_NUM] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_LIST_U_LANG_L] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_LIST_U_LANG_I] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_LIST_U_LANG_N] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_LIST_U_LANG_T] );

	if( mons != 0 ){
		ListPokeTextInfoPut( wk, mons, pos, ZKN2_BMPWIN_LIST_U_INFO );
		if( wk->lang == PM_LANG ){
			ListPokeTextHeightPut( wk, ZKN2_BMPWIN_LIST_U_HEIGHT );
			ListPokeTextWeightPut( wk, ZKN2_BMPWIN_LIST_U_WEIGHT );
			ListPokeTextHeightNumPut( wk, mons, pos, ZKN2_BMPWIN_LIST_U_H_NUM );
			ListPokeTextWeightNumPut( wk, mons, pos, ZKN2_BMPWIN_LIST_U_W_NUM );
		}else{
			ListPokeTextLangLabelPut( wk, ZKN2_BMPWIN_LIST_U_LANG_L );
			ListPokeTextLangInfoPut( wk, mons, ZKN2_BMPWIN_LIST_U_LANG_I );
			ListPokeTextLangNamePut( wk, mons, ZKN2_BMPWIN_LIST_U_LANG_N );
			ListPokeTextLangTextPut( wk, mons, pos, ZKN2_BMPWIN_LIST_U_LANG_T );
		}
	}
}

//--------------------------------------------------------------------------------------------
/**
 * リストページ：説明表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	mons	ポケモン番号
 * @param	pos		カーソル位置
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void ListPokeTextInfoPut( ZKN2_WORK * wk, u32 mons, u32 pos, u32 winID )
{
	STRBUF * str;

	if( wk->list_put[pos].type == ZKN2LIST_REGTYPE_GET ){
		GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );
		str = ZKN_WT_GetText( mons, wk->lang, 0, HEAPID_ZUKAN );
		ZKN2STR_PrintCore(
			&wk->win[winID], str,
			4, 0, FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_LEFT );
		STRBUF_Delete( str );
		GF_BGL_BmpWinOnVReq( &wk->win[winID] );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * リストページ：「たかさ」表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void ListPokeTextHeightPut( ZKN2_WORK * wk, u32 winID )
{
	GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );

	ZKN2STR_Print(
		&wk->win[winID], wk->mman, ZNK_POKELIST_19,
		HEIGHT_WEIGHT_PX, 0, FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_CENTER );

	GF_BGL_BmpWinOnVReq( &wk->win[winID] );
}

//--------------------------------------------------------------------------------------------
/**
 * リストページ：「おもさ」表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void ListPokeTextWeightPut( ZKN2_WORK * wk, u32 winID )
{
	GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );

	ZKN2STR_Print(
		&wk->win[winID], wk->mman, ZNK_POKELIST_20,
		HEIGHT_WEIGHT_PX, 0, FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_CENTER );

	GF_BGL_BmpWinOnVReq( &wk->win[winID] );
}

//--------------------------------------------------------------------------------------------
/**
 * リストページ：高さ値表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	mons	ポケモン番号
 * @param	type	捕獲状況
 * @param	winID	BMPWIN ID
 * @param	px		表示Ｘ座標
 * @param	py		表示Ｙ座標
 * @param	col		カラー
 * @param	mode	表示モード
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void PokeHeightPut( ZKN2_WORK * wk, u32 mons, u32 type, u32 winID, u32 px, u32 py, GF_PRINTCOLOR col, u32 mode )
{
	MSGDATA_MANAGER * man;
	STRBUF * str;

	man = MSGMAN_Create( MSGMAN_TYPE_NORMAL, ARC_MSG, ZKN_GIRA_GetHeightGmm(), HEAPID_ZUKAN );

	if( type == ZKN2LIST_REGTYPE_GET ){
		str = MSGMAN_AllocString( man, mons );
	}else{
		str = MSGMAN_AllocString( man, 0 );
	}

	ZKN2STR_PrintCore( &wk->win[winID], str, px, py, FONT_SYSTEM, col, mode );

	STRBUF_Delete( str );
	MSGMAN_Delete( man );
}

//--------------------------------------------------------------------------------------------
/**
 * リストページ：高さ値表示して転送リクエスト
 *
 * @param	wk		図鑑画面ワーク
 * @param	mons	ポケモン番号
 * @param	pos		リスト位置
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void ListPokeTextHeightNumPut( ZKN2_WORK * wk, u32 mons, u32 pos, u32 winID )
{
	GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );
	PokeHeightPut( wk, mons, wk->list_put[pos].type, winID, 4, 0, FNTCOL_LIST, ZKN2STR_PRINT_MODE_LEFT );
	GF_BGL_BmpWinOnVReq( &wk->win[winID] );
}

//--------------------------------------------------------------------------------------------
/**
 * リストページ：重さ値表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	mons	ポケモン番号
 * @param	type	捕獲状況
 * @param	winID	BMPWIN ID
 * @param	px		表示Ｘ座標
 * @param	py		表示Ｙ座標
 * @param	col		カラー
 * @param	mode	表示モード
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void PokeWeightPut( ZKN2_WORK * wk, u32 mons, u32 type, u32 winID, u32 px, u32 py, GF_PRINTCOLOR col, u32 mode )
{
	MSGDATA_MANAGER * man;
	STRBUF * str;

	man = MSGMAN_Create( MSGMAN_TYPE_NORMAL, ARC_MSG, ZKN_GIRA_GetGramGmm(), HEAPID_ZUKAN );

	if( type == ZKN2LIST_REGTYPE_GET ){
		str = MSGMAN_AllocString( man, mons );
	}else{
		str = MSGMAN_AllocString( man, 0 );
	}

	ZKN2STR_PrintCore( &wk->win[winID], str, px, py, FONT_SYSTEM, col, mode );

	STRBUF_Delete( str );
	MSGMAN_Delete( man );
}

//--------------------------------------------------------------------------------------------
/**
 * リストページ：重さ値表示して転送リクエスト
 *
 * @param	wk		図鑑画面ワーク
 * @param	mons	ポケモン番号
 * @param	pos		リスト位置
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void ListPokeTextWeightNumPut( ZKN2_WORK * wk, u32 mons, u32 pos, u32 winID )
{
	GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );
	PokeWeightPut( wk, mons, wk->list_put[pos].type, winID, 4, 0, FNTCOL_LIST, ZKN2STR_PRINT_MODE_LEFT );
	GF_BGL_BmpWinOnVReq( &wk->win[winID] );
}

//--------------------------------------------------------------------------------------------
/**
 * リストページ：言語名表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void ListPokeTextLangLabelPut( ZKN2_WORK * wk, u32 winID )
{
	GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );

	ZKN2STR_Print(
		&wk->win[winID], wk->mman,
		ZNK_ZUKAN_TEXT_00_0+ZKN_WT_GetLANG_Code_ZKN_WORLD_TEXT_Code(wk->lang),
		LANG_L_PX, 0, FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_CENTER );

	GF_BGL_BmpWinOnVReq( &wk->win[winID] );
}

//--------------------------------------------------------------------------------------------
/**
 * リストページ：外国語図鑑番号表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	mons	ポケモン番号
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void ListPokeTextLangInfoPut( ZKN2_WORK * wk, u32 mons, u32 winID )
{
	GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );

	WORDSET_RegisterNumber(
		wk->wset, 0,
		PMNumber_GetPokeNumber(wk->zkn_mode,mons), 3, NUM_MODE_ZERO, NUMBER_CODETYPE_DEFAULT );
	ExStrPrint(
		wk, wk->mman, winID,
		ZNK_POKELIST_17, 0, 0, FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_LEFT );

	GF_BGL_BmpWinOnVReq( &wk->win[winID] );
}

//--------------------------------------------------------------------------------------------
/**
 * リストページ：外国語ポケモン名表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	mons	ポケモン番号
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void ListPokeTextLangNamePut( ZKN2_WORK * wk, u32 mons, u32 winID )
{
	STRBUF * str;

	GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );

	str = ZKN_WT_GetPokeName( mons, wk->lang, HEAPID_ZUKAN );
	ZKN2STR_PrintCore(
		&wk->win[winID], str,
		0, 0, FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_LEFT );
	STRBUF_Delete( str );

	GF_BGL_BmpWinOnVReq( &wk->win[winID] );
}

//--------------------------------------------------------------------------------------------
/**
 * リストページ：外国語ポケモン種類名表示（〜ポケモン）
 *
 * @param	wk		図鑑画面ワーク
 * @param	mons	ポケモン番号
 * @param	pos		リスト位置
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void ListPokeTextLangTextPut( ZKN2_WORK * wk, u32 mons, u32 pos, u32 winID )
{
	STRBUF * str;

	GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );

	if( wk->list_put[pos].type == ZKN2LIST_REGTYPE_GET ){
		str = ZKN_WT_GetPokeType( mons, wk->lang, HEAPID_ZUKAN );
	}else{
		str = ZKN_WT_GetPokeType( 0, wk->lang, HEAPID_ZUKAN );
	}
	ZKN2STR_PrintCore(
		&wk->win[winID], str,
		BMPWIN_LIST_U_LANG_T_SX*8, 0, FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_RIGHT );

	STRBUF_Delete( str );

	GF_BGL_BmpWinOnVReq( &wk->win[winID] );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索ページのリスト：言語ごとのポケモン情報表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	mons	ポケモン番号
 * @param	pos		リスト位置
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchListPokeTextPut( ZKN2_WORK * wk, u32 mons, u32 pos )
{
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_SEARCH_HEIGHT] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_SEARCH_WEIGHT] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_SEARCH_TEXT] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_SEARCH_H_NUM] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_SEARCH_W_NUM] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_SEARCH_LANG_L] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_SEARCH_LANG_I] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_SEARCH_LANG_N] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_SEARCH_LANG_T] );

	if( mons != 0 ){
		ListPokeTextInfoPut( wk, mons, pos, ZKN2_BMPWIN_SEARCH_TEXT );
		if( wk->lang == PM_LANG ){
			ListPokeTextHeightPut( wk, ZKN2_BMPWIN_SEARCH_HEIGHT );
			ListPokeTextWeightPut( wk, ZKN2_BMPWIN_SEARCH_WEIGHT );
			ListPokeTextHeightNumPut( wk, mons, pos, ZKN2_BMPWIN_SEARCH_H_NUM );
			ListPokeTextWeightNumPut( wk, mons, pos, ZKN2_BMPWIN_SEARCH_W_NUM );
		}else{
			ListPokeTextLangLabelPut( wk, ZKN2_BMPWIN_SEARCH_LANG_L );
			ListPokeTextLangInfoPut( wk, mons, ZKN2_BMPWIN_SEARCH_LANG_I );
			ListPokeTextLangNamePut( wk, mons, ZKN2_BMPWIN_SEARCH_LANG_N );
			ListPokeTextLangTextPut( wk, mons, pos, ZKN2_BMPWIN_SEARCH_LANG_T );
		}
	}
}

//--------------------------------------------------------------------------------------------
/**
 * 検索ページのＢＭＰ追加
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchPageInit( ZKN2_WORK * wk )
{
	BmpWinAdd( wk, SearchPageBmpWinData, ZKN2_BMPWIN_SEARCH_MAX );

	ZKN2BMP_SearchInfoPut( wk, ZKN2BMP_SEARCH_INFO_INIT );
	ZKN2BMP_SearchMainPut( wk );
	ZKN2BMP_SearchParamPut( wk );

	ZKN2BMP_SearchBmpBgWinFrmSet( wk );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索ページのBGWINフレームにBMPを設定
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchBmpBgWinFrmSet( ZKN2_WORK * wk )
{
	BGWINFRM_BmpWinOn( wk->wfrm, ZKN2_BGWF_BTN_SEARCH_TOP, &wk->win[ZKN2_BMPWIN_SEARCH_L_BUTTON] );
	BGWINFRM_BmpWinOn( wk->wfrm, ZKN2_BGWF_BTN_SEARCH_TOP, &wk->win[ZKN2_BMPWIN_SEARCH_C_BUTTON] );
	BGWINFRM_BmpWinOn( wk->wfrm, ZKN2_BGWF_BTN_SEARCH_TOP, &wk->win[ZKN2_BMPWIN_SEARCH_R_BUTTON] );

	BGWINFRM_BmpWinOn( wk->wfrm, ZKN2_BGWF_BTN_SEARCH_INPUT, &wk->win[ZKN2_BMPWIN_SEARCH_L_BUTTON] );
	BGWINFRM_BmpWinOn( wk->wfrm, ZKN2_BGWF_BTN_SEARCH_INPUT, &wk->win[ZKN2_BMPWIN_SEARCH_R_BUTTON] );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索ページ：検索説明表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	id		説明ＩＤ
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchInfoPut( ZKN2_WORK * wk, u32 id )
{
	GF_BGL_BMPWIN * win = &wk->win[ZKN2_BMPWIN_SEARCH_U_INFO];

	GF_BGL_BmpWinDataFill( win, 0 );

	switch( id ){
	case ZKN2BMP_SEARCH_INFO_INIT:		// 初期状態
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_00,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 6,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_01,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 22,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		break;
	case ZKN2BMP_SEARCH_INFO_ENTER:		// 結果
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_02,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 6,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		WORDSET_RegisterNumber(
			wk->wset, 0,
			wk->mons_list.see_num, 3, NUM_MODE_ZERO, NUMBER_CODETYPE_DEFAULT );
		ExStrPrint(
			wk, wk->mman, ZKN2_BMPWIN_SEARCH_U_INFO, ZNK_SEARCH_INFO_03,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 22,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		break;
	case ZKN2BMP_SEARCH_INFO_SORT:		// 並び順
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_00,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 6,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_04,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 22,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		break;
	case ZKN2BMP_SEARCH_INFO_NAME:		// 名前
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_00,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 6,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_05,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 22,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		break;
	case ZKN2BMP_SEARCH_INFO_TYPE:		// タイプ
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_00,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 6,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_06,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 22,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		break;
	case ZKN2BMP_SEARCH_INFO_HEIGHT:	// 高さ
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_00,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 6,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_08,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 22,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		break;
	case ZKN2BMP_SEARCH_INFO_WEIGHT:	// 重さ
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_00,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 6,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_07,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 22,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		break;
	case ZKN2BMP_SEARCH_INFO_AREA:		// 地域
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_00,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 6,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_10,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 22,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		break;
	case ZKN2BMP_SEARCH_INFO_FORM:		// 形
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_00,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 6,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_09,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 22,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		break;

	case ZKN2BMP_SEARCH_INFO_START:		// 検索開始
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_00,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 6,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_13,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 22,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		break;

	case ZKN2BMP_SEARCH_INFO_ERROR:		// エラー
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_11,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 6,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		ZKN2STR_Print(
			win, wk->mman, ZNK_SEARCH_INFO_12,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_U_INFO_SX ), 22,
			FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
		break;
	}

	GF_BGL_BmpWinOnVReq( win );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索ページ：「ならびじゅん」表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void SearchDefRowPut( ZKN2_WORK * wk, u32 winID )
{
	GF_BGL_BMPWIN * win = &wk->win[winID];

	GF_BGL_BmpWinDataFill( win, 0 );

	ZKN2STR_Print(
		win, wk->mman, ZNK_SEARCH_10,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_ROW_SX ), 0,
		FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

//	GF_BGL_BmpWinOnVReq( win );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索ページ：「なまえ」表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void SearchDefNamePut( ZKN2_WORK * wk, u32 winID )
{
	GF_BGL_BMPWIN * win = &wk->win[winID];

	GF_BGL_BmpWinDataFill( win, 0 );

	ZKN2STR_Print(
		win, wk->mman, ZNK_SEARCH_12,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_NAME_T_SX ), 0,
		FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

//	GF_BGL_BmpWinOnVReq( win );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索ページ：「タイプ」表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void SearchDefTypePut( ZKN2_WORK * wk, u32 winID )
{
	GF_BGL_BMPWIN * win = &wk->win[winID];

	GF_BGL_BmpWinDataFill( win, 0 );

	ZKN2STR_Print(
		win, wk->mman, ZNK_SEARCH_13,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_TYPE_T_SX ), 0,
		FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

//	GF_BGL_BmpWinOnVReq( win );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索ページ：「たかさ」表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void SearchDefHeightPut( ZKN2_WORK * wk, u32 winID )
{
	GF_BGL_BMPWIN * win = &wk->win[winID];

	GF_BGL_BmpWinDataFill( win, 0 );

	ZKN2STR_Print(
		win, wk->mman, ZNK_SEARCH_14,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_HI_T_SX ), 0,
		FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

//	GF_BGL_BmpWinOnVReq( win );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索ページ：「おもさ」表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void SearchDefWeightPut( ZKN2_WORK * wk, u32 winID )
{
	GF_BGL_BMPWIN * win = &wk->win[winID];

	GF_BGL_BmpWinDataFill( win, 0 );

	ZKN2STR_Print(
		win, wk->mman, ZNK_SEARCH_15,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_WT_T_SX ), 0,
		FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

//	GF_BGL_BmpWinOnVReq( win );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索ページ：「ちいき」表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void SearchDefAreaPut( ZKN2_WORK * wk, u32 winID )
{
	GF_BGL_BMPWIN * win = &wk->win[winID];

	GF_BGL_BmpWinDataFill( win, 0 );

	ZKN2STR_Print(
		win, wk->mman, ZNK_SEARCH_16,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_AREA_T_SX ), 0,
		FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

//	GF_BGL_BmpWinOnVReq( win );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索ページ：「かたち」表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void SearchDefFormPut( ZKN2_WORK * wk, u32 winID )
{
	GF_BGL_BMPWIN * win = &wk->win[winID];

	GF_BGL_BmpWinDataFill( win, 0 );

	ZKN2STR_Print(
		win, wk->mman, ZNK_SEARCH_17,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_FORM_T_SX ), 0,
		FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

//	GF_BGL_BmpWinOnVReq( win );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索ページ：ボタン文字表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	BMPWIN ID
 * @param	strID	文字列ＩＤ
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void SearchButtonPut( ZKN2_WORK * wk, u32 winID, u32 strID )
{
	GF_BGL_BMPWIN * win;
	NNSG2dCharacterData * chr;
	void * buf;
	u8 * raw;
	u32	i;

	win = &wk->win[winID];

	buf = ArcUtil_HDL_CharDataGet(
			wk->graphic_ah, NARC_zukan_gra_zukan_gs_btn01_m_lz_NCGR, TRUE, &chr, HEAPID_ZUKAN );
	raw = chr->pRawData;

	for( i=0; i<BMPWIN_SEARCH_BUTTON_SX; i++ ){
		GF_BGL_BmpWinPrintEx(
			win, &raw[SEARCH_BUTTON_CHAR_U*0x20],
			0, 0, 8, 8,
			i*8, 0, 8, 8, 0xff );
		GF_BGL_BmpWinPrintEx(
			win, &raw[SEARCH_BUTTON_CHAR_D*0x20],
			0, 0, 8, 8,
			i*8, 8, 8, 8, 0xff );
	}

	sys_FreeMemoryEz( buf );

	ZKN2STR_Print(
		win, wk->mman, strID,
		ZKN2STR_BMPWIN_CENTER( GF_BGL_BmpWinGet_SizeX(win) ), 0,
		FONT_TOUCH, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

	GF_BGL_BmpWinCgxOn( win );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索メイン画面デフォルト文字表示
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchMainPut( ZKN2_WORK * wk )
{
	u32	i;

//	GF_BGL_ScrClear( wk->bgl, ZKN2_BGF_COVER_M );
	ZKN2MAIN_BgScrClear( wk, ZKN2_BGF_COVER_M );

	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_D_ROW], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_D_NAME_T], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_D_TYPE_T], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_D_HI_T], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_D_WT_T], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_D_AREA_T], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_D_FORM_T], 0 );

	SearchDefRowPut( wk, ZKN2_BMPWIN_SEARCH_D_ROW );
	SearchDefNamePut( wk, ZKN2_BMPWIN_SEARCH_D_NAME_T );
	SearchDefTypePut( wk, ZKN2_BMPWIN_SEARCH_D_TYPE_T );
	SearchDefHeightPut( wk, ZKN2_BMPWIN_SEARCH_D_HI_T );
	SearchDefWeightPut( wk, ZKN2_BMPWIN_SEARCH_D_WT_T );
	SearchDefAreaPut( wk, ZKN2_BMPWIN_SEARCH_D_AREA_T );
	SearchDefFormPut( wk, ZKN2_BMPWIN_SEARCH_D_FORM_T );

	SearchButtonPut( wk, ZKN2_BMPWIN_SEARCH_L_BUTTON, ZNK_SEARCH_24 );
	SearchButtonPut( wk, ZKN2_BMPWIN_SEARCH_C_BUTTON, ZNK_SEARCH_25 );
	SearchButtonPut( wk, ZKN2_BMPWIN_SEARCH_R_BUTTON, ZNK_SEARCH_26 );

	for( i=ZKN2_BMPWIN_SEARCH_D_ROW; i<=ZKN2_BMPWIN_SEARCH_D_FORM_T; i++ ){
		GF_BGL_BmpWinOnVReq( &wk->win[i] );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * 検索メイン画面パラメータ表示
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchParamPut( ZKN2_WORK * wk )
{
	u32	i;

	ZKN2BMP_SearchSelectRowPut( wk, ZKN2_BMPWIN_SEARCH_D_ROW_P );
	ZKN2BMP_SearchSelectNamePut( wk, ZKN2_BMPWIN_SEARCH_D_NAME_P );
	ZKN2BMP_SearchSelectTypePut( wk, wk->search_prm[ZKN2_SEARCH_PRM_TYPE1], ZKN2_BMPWIN_SEARCH_D_TYPE1_P );
	ZKN2BMP_SearchSelectTypePut( wk, wk->search_prm[ZKN2_SEARCH_PRM_TYPE2], ZKN2_BMPWIN_SEARCH_D_TYPE2_P );

	ZKN2BMP_SearchSelectNumPut(
		wk,
		wk->hw_dot[wk->search_prm[ZKN2_SEARCH_PRM_HEIGHT_L]].height,
		ZKN2_BMPWIN_SEARCH_D_HL_P );
	ZKN2BMP_SearchSelectNumPut(
		wk,
		wk->hw_dot[wk->search_prm[ZKN2_SEARCH_PRM_HEIGHT_H]].height,
		ZKN2_BMPWIN_SEARCH_D_HH_P );
	ZKN2BMP_SearchSelectNumPut(
		wk,
		wk->hw_dot[wk->search_prm[ZKN2_SEARCH_PRM_WEIGHT_L]].weight,
		ZKN2_BMPWIN_SEARCH_D_WL_P );
	ZKN2BMP_SearchSelectNumPut(
		wk,
		wk->hw_dot[wk->search_prm[ZKN2_SEARCH_PRM_WEIGHT_H]].weight,
		ZKN2_BMPWIN_SEARCH_D_WH_P );

	ZKN2BMP_SearchSelectAreaPut( wk, ZKN2_BMPWIN_SEARCH_D_AREA_P );

	for( i=ZKN2_BMPWIN_SEARCH_D_ROW_P; i<=ZKN2_BMPWIN_SEARCH_D_AREA_P; i++ ){
		GF_BGL_BmpWinOnVReq( &wk->win[i] );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * 検索並び順入力画面表示
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchInputRowPut( ZKN2_WORK * wk )
{
	u32	i;

//	GF_BGL_ScrClear( wk->bgl, ZKN2_BGF_COVER_M );
	ZKN2MAIN_BgScrClear( wk, ZKN2_BGF_COVER_M );

	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_ROW_TITLE], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_ROW_NUM], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_ROW_STR], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_ROW_WH], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_ROW_WL], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_ROW_HH], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_ROW_HL], 0 );

	//「ならびじゅん」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SEARCH_ROW_TITLE],
		wk->mman, ZNK_SEARCH_10,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_ROW_TITLE_SX ), 0,
		FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
	//「ばんごう」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SEARCH_ROW_NUM],
		wk->mman, ZNK_SEARCH_SORT_01,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_ROW_NUM_SX ), 0,
		FONT_TOUCH, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
	//「ごじゅうおん」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SEARCH_ROW_STR],
		wk->mman, ZNK_SEARCH_SORT_02,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_ROW_STR_SX ), 0,
		FONT_TOUCH, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
	//「おもい」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SEARCH_ROW_WH],
		wk->mman, ZNK_SEARCH_SORT_03,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_ROW_WH_SX ), 0,
		FONT_TOUCH, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
	//「かるい」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SEARCH_ROW_WL],
		wk->mman, ZNK_SEARCH_SORT_04,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_ROW_WL_SX ), 0,
		FONT_TOUCH, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
	//「たかい」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SEARCH_ROW_HH],
		wk->mman, ZNK_SEARCH_SORT_05,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_ROW_HH_SX ), 0,
		FONT_TOUCH, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
	//「ひくい」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SEARCH_ROW_HL],
		wk->mman, ZNK_SEARCH_SORT_06,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_ROW_HL_SX ), 0,
		FONT_TOUCH, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

	SearchButtonPut( wk, ZKN2_BMPWIN_SEARCH_L_BUTTON, ZNK_SEARCH_30 );
	SearchButtonPut( wk, ZKN2_BMPWIN_SEARCH_R_BUTTON, ZNK_SEARCH_31 );

	ZKN2BMP_SearchSelectRowPut( wk, ZKN2_BMPWIN_SEARCH_ROW_MODE );

	for( i=ZKN2_BMPWIN_SEARCH_ROW_TITLE; i<=ZKN2_BMPWIN_SEARCH_ROW_HL; i++ ){
		GF_BGL_BmpWinOnVReq( &wk->win[i] );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * 検索名前入力画面表示
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchInputNamePut( ZKN2_WORK * wk )
{
	u16	i, j;

//	GF_BGL_ScrClear( wk->bgl, ZKN2_BGF_COVER_M );
	ZKN2MAIN_BgScrClear( wk, ZKN2_BGF_COVER_M );

	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_NAME_TITLE], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_NAME_AREA], 0 );

	//「なまえ」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SEARCH_NAME_TITLE],
		wk->mman, ZNK_SEARCH_12,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_NAME_TITLE_SX ), 0,
		FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

	// 入力エリア
	for( i=0; i<ZKN2LIST_SEARCH_NAME_MAX; i++ ){
		j = ZKN2MAIN_SearchNamePutNumGet( i );
		ZKN2STR_Print(
			&wk->win[ZKN2_BMPWIN_SEARCH_NAME_AREA],
			wk->mman, ZNK_SEARCH_INITIAL_01 + i,
			SEARCH_NAME_INPUT_PX + j / SEARCH_NAME_INPUT_Y_MAX * SEARCH_NAME_INPUT_SX,
			SEARCH_NAME_INPUT_PY + j % SEARCH_NAME_INPUT_Y_MAX * SEARCH_NAME_INPUT_SY,
			FONT_TOUCH, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
	}

	SearchButtonPut( wk, ZKN2_BMPWIN_SEARCH_L_BUTTON, ZNK_SEARCH_30 );
	SearchButtonPut( wk, ZKN2_BMPWIN_SEARCH_R_BUTTON, ZNK_SEARCH_31 );

	ZKN2BMP_SearchSelectNamePut( wk, ZKN2_BMPWIN_SEARCH_NAME_SEL );

	GF_BGL_BmpWinOnVReq( &wk->win[ZKN2_BMPWIN_SEARCH_NAME_TITLE] );
	GF_BGL_BmpWinOnVReq( &wk->win[ZKN2_BMPWIN_SEARCH_NAME_AREA] );
	GF_BGL_BmpWinOnVReq( &wk->win[ZKN2_BMPWIN_SEARCH_NAME_SEL] );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索タイプ順入力画面表示
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchInputTypePut( ZKN2_WORK * wk )
{
	u32	i;

//	GF_BGL_ScrClear( wk->bgl, ZKN2_BGF_COVER_M );
	ZKN2MAIN_BgScrClear( wk, ZKN2_BGF_COVER_M );

	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_TYPE_TITLE], 0 );

	//「タイプ」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SEARCH_TYPE_TITLE],
		wk->mman, ZNK_SEARCH_13,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_TYPE_TITLE_SX ), 0,
		FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
	// 選択項目
	for( i=ZKN2_BMPWIN_SEARCH_TYPE_PRM1; i<=ZKN2_BMPWIN_SEARCH_TYPE_PRM18; i++ ){
		GF_BGL_BmpWinDataFill( &wk->win[i], 0 );
		ZKN2STR_Print(
			&wk->win[i],
			wk->mman, ZNK_SEARCH_TYPE_01+i-ZKN2_BMPWIN_SEARCH_TYPE_PRM1,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_TYPE_PRM_SX ), 0,
			FONT_TOUCH, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
	}

	SearchButtonPut( wk, ZKN2_BMPWIN_SEARCH_L_BUTTON, ZNK_SEARCH_30 );
	SearchButtonPut( wk, ZKN2_BMPWIN_SEARCH_R_BUTTON, ZNK_SEARCH_31 );

	ZKN2BMP_SearchSelectTypePut( wk, wk->search_prm[ZKN2_SEARCH_PRM_TYPE1], ZKN2_BMPWIN_SEARCH_TYPE_SEL1 );
	ZKN2BMP_SearchSelectTypePut( wk, wk->search_prm[ZKN2_SEARCH_PRM_TYPE2], ZKN2_BMPWIN_SEARCH_TYPE_SEL2 );

	for( i=ZKN2_BMPWIN_SEARCH_TYPE_TITLE; i<=ZKN2_BMPWIN_SEARCH_TYPE_PRM18; i++ ){
		GF_BGL_BmpWinOnVReq( &wk->win[i] );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * 検索高さ入力画面表示
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchInputHeightPut( ZKN2_WORK * wk )
{
	u32	i;

//	GF_BGL_ScrClear( wk->bgl, ZKN2_BGF_COVER_M );
	ZKN2MAIN_BgScrClear( wk, ZKN2_BGF_COVER_M );

	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_HEIGHT_TITLE], 0 );

	//「たかさ」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SEARCH_HEIGHT_TITLE],
		wk->mman, ZNK_SEARCH_14,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_HEIGHT_TITLE_SX ), 0,
		FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

	SearchButtonPut( wk, ZKN2_BMPWIN_SEARCH_L_BUTTON, ZNK_SEARCH_30 );
	SearchButtonPut( wk, ZKN2_BMPWIN_SEARCH_R_BUTTON, ZNK_SEARCH_31 );

	ZKN2BMP_SearchSelectNumPut(
		wk,
		wk->hw_dot[wk->search_prm[ZKN2_SEARCH_PRM_HEIGHT_L]].height,
		ZKN2_BMPWIN_SEARCH_HEIGHT_L );
	ZKN2BMP_SearchSelectNumPut(
		wk,
		wk->hw_dot[wk->search_prm[ZKN2_SEARCH_PRM_HEIGHT_H]].height,
		ZKN2_BMPWIN_SEARCH_HEIGHT_H );

	for( i=ZKN2_BMPWIN_SEARCH_HEIGHT_TITLE; i<=ZKN2_BMPWIN_SEARCH_HEIGHT_H; i++ ){
		GF_BGL_BmpWinOnVReq( &wk->win[i] );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * 検索重さ入力画面表示
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchInputWeightPut( ZKN2_WORK * wk )
{
	u32	i;

//	GF_BGL_ScrClear( wk->bgl, ZKN2_BGF_COVER_M );
	ZKN2MAIN_BgScrClear( wk, ZKN2_BGF_COVER_M );

	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_WEIGHT_TITLE], 0 );

	//「おもさ」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SEARCH_WEIGHT_TITLE],
		wk->mman, ZNK_SEARCH_15,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_WEIGHT_TITLE_SX ), 0,
		FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

	SearchButtonPut( wk, ZKN2_BMPWIN_SEARCH_L_BUTTON, ZNK_SEARCH_30 );
	SearchButtonPut( wk, ZKN2_BMPWIN_SEARCH_R_BUTTON, ZNK_SEARCH_31 );

	ZKN2BMP_SearchSelectNumPut(
		wk,
		wk->hw_dot[wk->search_prm[ZKN2_SEARCH_PRM_WEIGHT_L]].weight,
		ZKN2_BMPWIN_SEARCH_WEIGHT_L );
	ZKN2BMP_SearchSelectNumPut(
		wk,
		wk->hw_dot[wk->search_prm[ZKN2_SEARCH_PRM_WEIGHT_H]].weight,
		ZKN2_BMPWIN_SEARCH_WEIGHT_H );

	for( i=ZKN2_BMPWIN_SEARCH_WEIGHT_TITLE; i<=ZKN2_BMPWIN_SEARCH_WEIGHT_H; i++ ){
		GF_BGL_BmpWinOnVReq( &wk->win[i] );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * 検索地域入力画面表示
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchInputAreaPut( ZKN2_WORK * wk )
{
	u32	i;

//	GF_BGL_ScrClear( wk->bgl, ZKN2_BGF_COVER_M );
	ZKN2MAIN_BgScrClear( wk, ZKN2_BGF_COVER_M );

	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_AREA_TITLE], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_AREA_PRM1], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_AREA_PRM2], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_AREA_PRM3], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_AREA_PRM4], 0 );

	//「ちいき」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SEARCH_AREA_TITLE],
		wk->mman, ZNK_SEARCH_16,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_AREA_TITLE_SX ), 0,
		FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

	//「ジョウト」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SEARCH_AREA_PRM1],
		wk->mman, ZNK_SEARCH_AREA_01,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_AREA_PRM_SX ), 0,
		FONT_TOUCH, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
	//「カントー」
	if( wk->zenkoku_mode == TRUE ){
		ZKN2STR_Print(
			&wk->win[ZKN2_BMPWIN_SEARCH_AREA_PRM2],
			wk->mman, ZNK_SEARCH_AREA_02,
			ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_AREA_PRM_SX ), 0,
			FONT_TOUCH, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
	}
	//「ふめい」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SEARCH_AREA_PRM3],
		wk->mman, ZNK_SEARCH_AREA_03,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_AREA_PRM_SX ), 0,
		FONT_TOUCH, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );
	//「−−−−」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SEARCH_AREA_PRM4],
		wk->mman, ZNK_SEARCH_AREA_04,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_AREA_PRM_SX ), 0,
		FONT_TOUCH, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

	SearchButtonPut( wk, ZKN2_BMPWIN_SEARCH_L_BUTTON, ZNK_SEARCH_30 );
	SearchButtonPut( wk, ZKN2_BMPWIN_SEARCH_R_BUTTON, ZNK_SEARCH_31 );

	ZKN2BMP_SearchSelectAreaPut( wk, ZKN2_BMPWIN_SEARCH_AREA_SEL );

	for( i=ZKN2_BMPWIN_SEARCH_AREA_TITLE; i<=ZKN2_BMPWIN_SEARCH_AREA_PRM4; i++ ){
		GF_BGL_BmpWinOnVReq( &wk->win[i] );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * 検索形入力画面表示
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchInputFormPut( ZKN2_WORK * wk )
{
	u32	i;

//	GF_BGL_ScrClear( wk->bgl, ZKN2_BGF_COVER_M );
	ZKN2MAIN_BgScrClear( wk, ZKN2_BGF_COVER_M );

	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_FORM_TITLE], 0 );

	//「かたち」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SEARCH_FORM_TITLE],
		wk->mman, ZNK_SEARCH_17,
		ZKN2STR_BMPWIN_CENTER( BMPWIN_SEARCH_FORM_TITLE_SX ), 0,
		FONT_SYSTEM, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

	SearchButtonPut( wk, ZKN2_BMPWIN_SEARCH_L_BUTTON, ZNK_SEARCH_30 );
	SearchButtonPut( wk, ZKN2_BMPWIN_SEARCH_R_BUTTON, ZNK_SEARCH_31 );

	for( i=ZKN2_BMPWIN_SEARCH_FORM_TITLE; i<=ZKN2_BMPWIN_SEARCH_FORM_TITLE; i++ ){
		GF_BGL_BmpWinOnVReq( &wk->win[i] );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * 検索画面：現在選択中の並び順表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchSelectRowPut( ZKN2_WORK * wk, u32 winID )
{
	GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );

	ZKN2STR_Print(
		&wk->win[winID],
		wk->mman, ZNK_SEARCH_SORT_01 + wk->search_prm[ZKN2_SEARCH_PRM_ROW],
		ZKN2STR_BMPWIN_CENTER( GF_BGL_BmpWinGet_SizeX(&wk->win[winID]) ), 0,
		FONT_TOUCH, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

//	GF_BGL_BmpWinOnVReq( &wk->win[winID] );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索画面：現在選択中の名前表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchSelectNamePut( ZKN2_WORK * wk, u32 winID )
{
	GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );

	ZKN2STR_Print(
		&wk->win[winID],
		wk->mman, ZNK_SEARCH_INITIAL_01 + wk->search_prm[ZKN2_SEARCH_PRM_NAME],
		ZKN2STR_BMPWIN_CENTER( GF_BGL_BmpWinGet_SizeX(&wk->win[winID]) ), 0,
		FONT_TOUCH, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

//	GF_BGL_BmpWinOnVReq( &wk->win[winID] );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索画面：現在選択中のタイプ表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	type	タイプ番号
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchSelectTypePut( ZKN2_WORK * wk, u32 type, u32 winID )
{
	GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );

	ZKN2STR_Print(
		&wk->win[winID],
		wk->mman, ZNK_SEARCH_TYPE_01 + type,
		ZKN2STR_BMPWIN_CENTER( GF_BGL_BmpWinGet_SizeX(&wk->win[winID]) ), 0,
		FONT_TOUCH, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

//	GF_BGL_BmpWinOnVReq( &wk->win[winID] );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索画面：現在選択中の高さ・重さの数値表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	num		数値
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchSelectNumPut( ZKN2_WORK * wk, u32 num, u32 winID )
{
	GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );

	WORDSET_RegisterNumber(
		wk->wset, 0,
		num / 10, 3, NUM_MODE_LEFT, NUMBER_CODETYPE_DEFAULT );
	WORDSET_RegisterNumber(
		wk->wset, 1,
		num % 10, 1, NUM_MODE_ZERO, NUMBER_CODETYPE_DEFAULT );

	ExStrPrint(
		wk, wk->mman, winID, ZNK_SEARCH_27,
		ZKN2STR_BMPWIN_CENTER( GF_BGL_BmpWinGet_SizeX(&wk->win[winID]) ), 0,
		FONT_TOUCH, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

//	GF_BGL_BmpWinOnVReq( &wk->win[winID] );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索画面：現在選択中の地域表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchSelectAreaPut( ZKN2_WORK * wk, u32 winID )
{
	GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );

	ZKN2STR_Print(
		&wk->win[winID],
		wk->mman, ZNK_SEARCH_AREA_01 + wk->search_prm[ZKN2_SEARCH_PRM_AREA],
		ZKN2STR_BMPWIN_CENTER( GF_BGL_BmpWinGet_SizeX(&wk->win[winID]) ), 0,
		FONT_TOUCH, FNTCOL_SEARCH, ZKN2STR_PRINT_MODE_CENTER );

//	GF_BGL_BmpWinOnVReq( &wk->win[winID] );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索リスト書き込み
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchListSet( ZKN2_WORK * wk )
{
	u32	i;

//	GF_BGL_ScrClear( wk->bgl, ZKN2_BGF_UPPER_S );

	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_U_ROW], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_U_NAME_T], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_U_TYPE_T], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_U_HI_T], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_U_WT_T], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_U_AREA_T], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_SEARCH_U_FORM_T], 0 );

	SearchDefRowPut( wk, ZKN2_BMPWIN_SEARCH_U_ROW );
	SearchDefNamePut( wk, ZKN2_BMPWIN_SEARCH_U_NAME_T );
	SearchDefTypePut( wk, ZKN2_BMPWIN_SEARCH_U_TYPE_T );
	SearchDefHeightPut( wk, ZKN2_BMPWIN_SEARCH_U_HI_T );
	SearchDefWeightPut( wk, ZKN2_BMPWIN_SEARCH_U_WT_T );
	SearchDefAreaPut( wk, ZKN2_BMPWIN_SEARCH_U_AREA_T );
	SearchDefFormPut( wk, ZKN2_BMPWIN_SEARCH_U_FORM_T );

	ZKN2BMP_SearchSelectRowPut( wk, ZKN2_BMPWIN_SEARCH_U_ROW_P );
	ZKN2BMP_SearchSelectNamePut( wk, ZKN2_BMPWIN_SEARCH_U_NAME_P );
	ZKN2BMP_SearchSelectTypePut( wk, wk->search_prm[ZKN2_SEARCH_PRM_TYPE1], ZKN2_BMPWIN_SEARCH_U_TYPE1_P );
	ZKN2BMP_SearchSelectTypePut( wk, wk->search_prm[ZKN2_SEARCH_PRM_TYPE2], ZKN2_BMPWIN_SEARCH_U_TYPE2_P );

	ZKN2BMP_SearchSelectNumPut(
		wk,
		wk->hw_dot[wk->search_prm[ZKN2_SEARCH_PRM_HEIGHT_L]].height,
		ZKN2_BMPWIN_SEARCH_U_HL_P );
	ZKN2BMP_SearchSelectNumPut(
		wk,
		wk->hw_dot[wk->search_prm[ZKN2_SEARCH_PRM_HEIGHT_H]].height,
		ZKN2_BMPWIN_SEARCH_U_HH_P );
	ZKN2BMP_SearchSelectNumPut(
		wk,
		wk->hw_dot[wk->search_prm[ZKN2_SEARCH_PRM_WEIGHT_L]].weight,
		ZKN2_BMPWIN_SEARCH_U_WL_P );
	ZKN2BMP_SearchSelectNumPut(
		wk,
		wk->hw_dot[wk->search_prm[ZKN2_SEARCH_PRM_WEIGHT_H]].weight,
		ZKN2_BMPWIN_SEARCH_U_WH_P );

	ZKN2BMP_SearchSelectAreaPut( wk, ZKN2_BMPWIN_SEARCH_U_AREA_P );

	for( i=ZKN2_BMPWIN_SEARCH_U_ROW; i<=ZKN2_BMPWIN_SEARCH_U_AREA_P; i++ ){
		GF_BGL_BmpWinCgxOn( &wk->win[i] );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * 検索リストからのカバーへの情報書き込み
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchCoverStrPut( ZKN2_WORK * wk )
{
	u16 * scr;
	u8	px, py, sx, sy;

	scr = BGWINFRM_FrameBufGet( wk->wfrm, ZKN2_BGWF_SEARCH_COVER_D );

//	u32	pos;
//	u16	mons;

	CoverSeeGetPrintCore( wk, ZKN2_BMPWIN_SEARCH_SEE, ZNK_POKELIST_00 );
	CoverSeeGetPrintCore( wk, ZKN2_BMPWIN_SEARCH_GET, ZNK_POKELIST_01 );

//	ZKN2BMP_CoverNumPrint( wk );
	CoverSeeGetNumPrintCore( wk, ZKN2_BMPWIN_SEARCH_SNUM1+wk->num_swap, wk->mons_list.see_num );
	CoverSeeGetNumPrintCore( wk, ZKN2_BMPWIN_SEARCH_GNUM1+wk->num_swap, wk->mons_list.get_num );

	SearchCoverStrPut( wk, ZKN2_BMPWIN_SEARCH_SEE );
	SearchCoverStrPut( wk, ZKN2_BMPWIN_SEARCH_GET );
	SearchCoverStrPut( wk, ZKN2_BMPWIN_SEARCH_SNUM1+wk->num_swap );
	SearchCoverStrPut( wk, ZKN2_BMPWIN_SEARCH_GNUM1+wk->num_swap );

	wk->num_swap ^= 1;



/*
	pos  = ZKN2LIST_SelPosGet( wk );
	mons = ZKN2LIST_SelMonsGet( wk );

	ZKN2BMP_ListPokeInfoPut( wk, mons, pos );
	ZKN2BMP_ListPokeTextPut( wk, mons, pos );
*/

}

//--------------------------------------------------------------------------------------------
/**
 * 検索リストからのカバーへの文字列表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	BMPWIN ID
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void SearchCoverStrPut( ZKN2_WORK * wk, u32 winID )
{
	u16 * scr;
	u32	i, j;
	u16	chr;
	u8	px, py, sx, sy;

	scr = BGWINFRM_FrameBufGet( wk->wfrm, ZKN2_BGWF_SEARCH_COVER_D );

	chr = GF_BGL_BmpWinGet_Chrofs( &wk->win[winID] );
	px  = GF_BGL_BmpWinGet_PosX( &wk->win[winID] );
	py  = GF_BGL_BmpWinGet_PosY( &wk->win[winID] );
	sx  = GF_BGL_BmpWinGet_SizeX( &wk->win[winID] );
	sy  = GF_BGL_BmpWinGet_SizeY( &wk->win[winID] );

	for( i=0; i<sy; i++ ){
		for( j=0; j<sx; j++ ){
			scr[(i+py)*32 + j+px] = ( scr[(i+py)*32 + j+px] & 0xf000 ) + chr + i*sx+j;
		}
	}

	GF_BGL_BmpWinCgxOn( &wk->win[winID] );
}

//--------------------------------------------------------------------------------------------
/**
 * 検索情報表示切替
 *
 * @param	wk		図鑑画面ワーク
 * @param	flg		表示フラグ ( TRUE = ON, FALSE = OFF )
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchInfoVanish( ZKN2_WORK * wk, BOOL flg )
{
	u32	i;

	if( flg == TRUE ){
		for( i=ZKN2_BMPWIN_SEARCH_U_INFO; i<=ZKN2_BMPWIN_SEARCH_U_AREA_P; i++ ){
//			GF_BGL_BmpWinOn( &wk->win[i] );
			GF_BGL_BmpWinOnVReq( &wk->win[i] );
		}
	}else{
		for( i=ZKN2_BMPWIN_SEARCH_U_INFO; i<=ZKN2_BMPWIN_SEARCH_U_AREA_P; i++ ){
//			GF_BGL_BmpWinOff( &wk->win[i] );
			GF_BGL_BmpWinOffVReq( &wk->win[i] );
		}
	}
}

//--------------------------------------------------------------------------------------------
/**
 * 検索画面ポケモン情報非表示
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SearchPokeInfoVanish( ZKN2_WORK * wk )
{
	u32	i;

	for( i=ZKN2_BMPWIN_SEARCH_TITLE; i<=ZKN2_BMPWIN_SEARCH_LANG_T; i++ ){
//		GF_BGL_BmpWinOff( &wk->win[i] );
		GF_BGL_BmpWinOffVReq( &wk->win[i] );
	}
}



//============================================================================================
/*
	詳細
*/
//============================================================================================

//--------------------------------------------------------------------------------------------
/**
 * 詳細ページ：BGWINフレーム追加
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_DetailListBGWFAdd( ZKN2_WORK * wk )
{
	u32	i;

	for( i=0; i<6; i++ ){
		BGWINFRM_Add(
			wk->wfrm, ZKN2_BGWF_DETAIL_LIST1+i,
			BMPWIN_FORM_D_FORM_FRM, BMPWIN_FORM_D_FORM_SX, BMPWIN_FORM_D_FORM_SY );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細分布画面：BGWINフレーム追加
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_PlacePageBGWFSet( ZKN2_WORK * wk )
{
	u16 * scrn;
	u16	i, j;
	u16	cgx;

	for( i=0; i<6; i++ ){
		cgx  = EncountPageBmpWinData[ZKN2_BMPWIN_ENC_D_LIST1+i].chrnum;
		scrn = BGWINFRM_FrameBufGet( wk->wfrm, ZKN2_BGWF_DETAIL_LIST1+i );
		for( j=0; j<BMPWIN_ENC_D_LIST_SX*BMPWIN_ENC_D_LIST_SY; j++ ){
			scrn[j] = ( BMPWIN_ENC_D_LIST_PAL << 12 ) | ( cgx + j );
		}
	}
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細姿画面：BGWINフレーム追加
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_FormPageBGWFSet( ZKN2_WORK * wk )
{
	u16 * scrn;
	u16	i, j;
	u16	cgx;

	for( i=0; i<6; i++ ){
		cgx  = FormPageBmpWinData[ZKN2_BMPWIN_FORM_D_FORM1+i].chrnum;
		scrn = BGWINFRM_FrameBufGet( wk->wfrm, ZKN2_BGWF_DETAIL_LIST1+i );
		for( j=0; j<BMPWIN_FORM_D_FORM_SX*BMPWIN_FORM_D_FORM_SY; j++ ){
			scrn[j] = ( BMPWIN_FORM_D_FORM_PAL << 12 ) | ( cgx + j );
		}
	}
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細分布画面BMP関連初期化
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_PlacePageInit( ZKN2_WORK * wk )
{
	STRBUF * str;

	BmpWinAdd( wk, EncountPageBmpWinData, ZKN2_BMPWIN_ENC_MAX );

	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_ENC_U_TITLE], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_ENC_U_NAME], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_ENC_D_CHANGE], 0 );

	// 上画面「ぶんぷ」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SIZE_U_TITLE], wk->mman,
		ZNK_TITLE_01, 0, 0, FONT_TOUCH, FNTCOL_LIST, ZKN2STR_PRINT_MODE_LEFT );

	// 上画面ポケモン名
	str = ZKN_WT_GetPokeName( wk->detail_mons, PM_LANG, HEAPID_ZUKAN );
	ZKN2STR_PrintCore(
		&wk->win[ZKN2_BMPWIN_ENC_U_NAME], str,
		ZKN2STR_BMPWIN_CENTER(BMPWIN_ENC_U_NAME_SX), 0,
		FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_CENTER );
	STRBUF_Delete( str );

	// 下画面「きりかえ」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_ENC_D_CHANGE], wk->mman,
		ZNK_RANGE_04,
		ZKN2STR_BMPWIN_CENTER(BMPWIN_ENC_D_CHANGE_SX), 0,
		FONT_SYSTEM, FNTCOL_M01BN, ZKN2STR_PRINT_MODE_CENTER );

	GF_BGL_BmpWinOnVReq( &wk->win[ZKN2_BMPWIN_ENC_U_TITLE] );
	GF_BGL_BmpWinOnVReq( &wk->win[ZKN2_BMPWIN_ENC_U_NAME] );
	GF_BGL_BmpWinOnVReq( &wk->win[ZKN2_BMPWIN_ENC_D_CHANGE] );

	// 下画面地名表示
	if( wk->zenkoku_mode == TRUE ){
		GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_ENC_D_JOHTO1], 0 );
		GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_ENC_D_KANTO], 0 );

		ZKN2STR_Print(
			&wk->win[ZKN2_BMPWIN_ENC_D_JOHTO1], wk->mman, ZNK_SEARCH_AREA_01,
			ZKN2STR_BMPWIN_CENTER(BMPWIN_ENC_D_JOHTO_SX), 0,
			FONT_TOUCH, FNTCOL_FORM_TD, ZKN2STR_PRINT_MODE_CENTER );
		ZKN2STR_Print(
			&wk->win[ZKN2_BMPWIN_ENC_D_KANTO], wk->mman, ZNK_SEARCH_AREA_02,
			ZKN2STR_BMPWIN_CENTER(BMPWIN_ENC_D_KANTO_SX), 0,
			FONT_TOUCH, FNTCOL_FORM_TD, ZKN2STR_PRINT_MODE_CENTER );

		GF_BGL_BmpWinOnVReq( &wk->win[ZKN2_BMPWIN_ENC_D_JOHTO1] );
		GF_BGL_BmpWinOnVReq( &wk->win[ZKN2_BMPWIN_ENC_D_KANTO] );
	}else{
		GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_ENC_D_JOHTO2], 0 );
		ZKN2STR_Print(
			&wk->win[ZKN2_BMPWIN_ENC_D_JOHTO2], wk->mman, ZNK_SEARCH_AREA_01,
			ZKN2STR_BMPWIN_CENTER(BMPWIN_ENC_D_JOHTO_SX), 0,
			FONT_SYSTEM, FNTCOL_M01BN, ZKN2STR_PRINT_MODE_CENTER );
		GF_BGL_BmpWinOnVReq( &wk->win[ZKN2_BMPWIN_ENC_D_JOHTO2] );
	}

	// 上画面「せいそくち　ふめい」
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_ENC_U_ERROR], 0 );
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_ENC_U_ERROR], wk->mman, ZNK_RANGE_00,
		ZKN2STR_BMPWIN_CENTER(BMPWIN_ENC_U_ERROR_SX), 0,
		FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_CENTER );
	GF_BGL_BmpWinCgxOn( &wk->win[ZKN2_BMPWIN_ENC_U_ERROR] );

	ZKN2BMP_PlaceTimePut( wk );

	ZKN2BMP_PlaceListPutInit( wk );
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細分布画面BMP関連削除
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_PlacePageExit( ZKN2_WORK * wk )
{
	u32	i;

	for( i=0; i<ZKN2_BMPWIN_ENC_MAX; i++ ){
		GF_BGL_BmpWinOffVReq( &wk->win[i] );
	}
	ZKN2BMP_Exit( wk );
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細分布画面時間帯表示
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_PlaceTimePut( ZKN2_WORK * wk )
{
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_ENC_U_TIME], 0 );

	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_ENC_U_TIME], wk->mman,
		ZNK_RANGE_01+wk->detail_place_time,
		ZKN2STR_BMPWIN_CENTER(BMPWIN_ENC_U_TIME_SX), 0,
		FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_CENTER );

	GF_BGL_BmpWinOnVReq( &wk->win[ZKN2_BMPWIN_ENC_U_TIME] );
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細分布画面場所リスト表示初期化
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_PlaceListPutInit( ZKN2_WORK * wk )
{
	u32	strID;
	s32	pos;
	u32	i;

	for( i=0; i<6; i++ ){
		GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_ENC_D_LIST1+i], 0 );
		pos = wk->detail_place_pos + i - 2;
		if( pos >= 0 && pos < wk->enc_data.all.num ){
			strID = PlaceNameGet( wk, pos );
			ExStrPrint(
				wk, wk->mman, ZKN2_BMPWIN_ENC_D_LIST1+i, strID,
				ZKN2STR_BMPWIN_CENTER(BMPWIN_ENC_D_LIST_SX), 0,
				FONT_TOUCH, FNTCOL_FORM_TD, ZKN2STR_PRINT_MODE_CENTER );
		}
		GF_BGL_BmpWinCgxOn( &wk->win[ZKN2_BMPWIN_ENC_D_LIST1+i] );
		BGWINFRM_FramePut(
			wk->wfrm, ZKN2_BGWF_DETAIL_LIST1+i,
			GF_BGL_BmpWinGet_PosX( &wk->win[ZKN2_BMPWIN_ENC_D_LIST1+i] ),
			GF_BGL_BmpWinGet_PosY( &wk->win[ZKN2_BMPWIN_ENC_D_LIST1+i] ) );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細分布画面場所文字列取得
 *
 * @param	wk		図鑑画面ワーク
 * @param	pos		リスト位置
 *
 * @return	文字列ＩＤ
 */
//--------------------------------------------------------------------------------------------
static u32 PlaceNameGet( ZKN2_WORK * wk, u32 pos )
{
	u32	zoneID;

	if( wk->enc_data.all.map[pos] == ZKN2_ENC_ALL_AREA ){
		if( wk->detail_place_mode == 0 ){
			return ZNK_RANGE_07;
		}else{
			return ZNK_RANGE_08;
		}
	}

	zoneID = ZKN2MAIN_ZoneIDGetPos( wk, pos );
	WORDSET_RegisterPlaceName( wk->wset, 0, ZoneData_GetPlaceNameID(zoneID) );
	return ZNK_RANGE_06;
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細分布画面場所スクロール設定
 *
 * @param	wk		図鑑画面ワーク
 * @param	mv		スクロール方向
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_PlaceNameMoveInit( ZKN2_WORK * wk, s8 mv )
{
	s32	pos;
	u32	i;
	s8	x, y;

	for( i=0; i<6; i++ ){
		BGWINFRM_PosGet( wk->wfrm, ZKN2_BGWF_DETAIL_LIST1+i, &x, &y );
		if( y == PLACE_LIST_UY || y == PLACE_LIST_DY ){
			break;
		}
	}

	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_ENC_D_LIST1+i], 0 );

	if( mv < 0 ){
		BGWINFRM_FramePut( wk->wfrm, ZKN2_BGWF_DETAIL_LIST1+i, BMPWIN_ENC_D_LIST_PX, PLACE_LIST_DY );
		pos = wk->detail_place_pos + 2;
		if( pos < wk->enc_data.all.num ){
			ExStrPrint(
				wk, wk->mman,
				ZKN2_BMPWIN_ENC_D_LIST1+i,
				PlaceNameGet( wk, pos ),
				ZKN2STR_BMPWIN_CENTER(BMPWIN_ENC_D_LIST_SX), 0,
				FONT_TOUCH, FNTCOL_FORM_TD, ZKN2STR_PRINT_MODE_CENTER );
		}
	}else{
		BGWINFRM_FramePut( wk->wfrm, ZKN2_BGWF_DETAIL_LIST1+i, BMPWIN_ENC_D_LIST_PX, PLACE_LIST_UY );
		pos = wk->detail_place_pos - 2;
		if( pos >= 0 ){
			ExStrPrint(
				wk, wk->mman,
				ZKN2_BMPWIN_ENC_D_LIST1+i,
				PlaceNameGet( wk, pos ),
				ZKN2STR_BMPWIN_CENTER(BMPWIN_ENC_D_LIST_SX), 0,
				FONT_TOUCH, FNTCOL_FORM_TD, ZKN2STR_PRINT_MODE_CENTER );
		}
	}

	GF_BGL_BmpWinCgxOn( &wk->win[ZKN2_BMPWIN_ENC_D_LIST1+i] );
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細大きさ画面ＢＭＰ関連初期化
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SizePageInit( ZKN2_WORK * wk )
{
	STRBUF * str;
	u32	type;
	u32	i;

	BmpWinAdd( wk, SizePageBmpWinData, ZKN2_BMPWIN_SIZE_MAX );

	for( i=0; i<ZKN2_BMPWIN_SIZE_MAX; i++ ){
		GF_BGL_BmpWinDataFill( &wk->win[i], 0 );
	}

	if( ZukanWork_GetPokeGetFlag( wk->dat->zukan_work, wk->detail_mons ) ){
		type = ZKN2LIST_REGTYPE_GET;
	}else{
		type = ZKN2LIST_REGTYPE_SEE;
	}

	// 上画面「おおきさ」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SIZE_U_TITLE], wk->mman,
		ZNK_TITLE_03, 0, 0, FONT_TOUCH, FNTCOL_LIST, ZKN2STR_PRINT_MODE_LEFT );

	// 上画面「おおきさくらべ」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SIZE_U_KURABE], wk->mman, ZNK_BIG_00,
		ZKN2STR_BMPWIN_CENTER(BMPWIN_SIZE_U_KURABE_SX), 0,
		FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_CENTER );

	// 上画面ポケモン「たかさ」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SIZE_U_POKE_HT], wk->mman, ZNK_POKELIST_19,
		ZKN2STR_BMPWIN_CENTER(BMPWIN_SIZE_U_POKE_HT_SX), 0,
		FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_CENTER );

	// 上画面主人公「たかさ」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SIZE_U_MY_HT], wk->mman, ZNK_POKELIST_19,
		ZKN2STR_BMPWIN_CENTER(BMPWIN_SIZE_U_MY_HT_SX), 0,
		FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_CENTER );

	// 上画面ポケモン名
	str = ZKN_WT_GetPokeName( wk->detail_mons, PM_LANG, HEAPID_ZUKAN );
	ZKN2STR_PrintCore(
		&wk->win[ZKN2_BMPWIN_SIZE_U_POKENAME], str,
		ZKN2STR_BMPWIN_CENTER(BMPWIN_SIZE_U_POKENAME_SX), 0,
		FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_CENTER );
	STRBUF_Delete( str );

	// 上画面主人公名
	str = MyStatus_CreateNameString( wk->dat->myst, HEAPID_ZUKAN );
	ZKN2STR_PrintCore(
		&wk->win[ZKN2_BMPWIN_SIZE_U_MYNAME], str,
		ZKN2STR_BMPWIN_CENTER(BMPWIN_SIZE_U_MYNAME_SX), 0,
		FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_CENTER );
	STRBUF_Delete( str );

	// 上画面ポケモン高さ
	PokeHeightPut(
		wk, wk->detail_mons, type,
		ZKN2_BMPWIN_SIZE_U_POKE_HP,
		ZKN2STR_BMPWIN_CENTER(BMPWIN_SIZE_U_POKE_HP_SX), 0,
		FNTCOL_LIST, ZKN2STR_PRINT_MODE_CENTER );

	// 下画面「おもさ　くらべ」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SIZE_D_KURABE], wk->mman, ZNK_BIG_01,
		ZKN2STR_BMPWIN_CENTER(BMPWIN_SIZE_D_KURABE_SX), 0,
		FONT_SYSTEM, FNTCOL_M01BN, ZKN2STR_PRINT_MODE_CENTER );

	// 下画面ポケモン「おもさ」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SIZE_D_POKE_WT], wk->mman, ZNK_POKELIST_20,
		ZKN2STR_BMPWIN_CENTER(BMPWIN_SIZE_D_POKE_WT_SX), 0,
		FONT_SYSTEM, FNTCOL_M01WN, ZKN2STR_PRINT_MODE_CENTER );

	// 下画面主人公「おもさ」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_SIZE_D_MY_WT], wk->mman, ZNK_POKELIST_20,
		ZKN2STR_BMPWIN_CENTER(BMPWIN_SIZE_D_MY_WT_SX), 0,
		FONT_SYSTEM, FNTCOL_M01WN, ZKN2STR_PRINT_MODE_CENTER );

	// 下画面ポケモン重さ
	PokeWeightPut(
		wk, wk->detail_mons, type,
		ZKN2_BMPWIN_SIZE_D_POKE_WP,
		ZKN2STR_BMPWIN_CENTER(BMPWIN_SIZE_D_POKE_WP_SX), 0,
		FNTCOL_M01WN, ZKN2STR_PRINT_MODE_CENTER );

	if( MyStatus_GetMySex( wk->dat->myst ) == 0 ){
		// 上画面主人公高さ
		ZKN2STR_Print(
			&wk->win[ZKN2_BMPWIN_SIZE_U_MY_HP], wk->mman, ZNK_HEIGHT_00,
			ZKN2STR_BMPWIN_CENTER(BMPWIN_SIZE_U_MY_HP_SX), 0,
			FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_CENTER );
		// 下画面主人公重さ
		ZKN2STR_Print(
			&wk->win[ZKN2_BMPWIN_SIZE_D_MY_WP], wk->mman, ZNK_WEIGHT_00,
			ZKN2STR_BMPWIN_CENTER(BMPWIN_SIZE_D_MY_WP_SX), 0,
			FONT_SYSTEM, FNTCOL_M01WN, ZKN2STR_PRINT_MODE_CENTER );
	}else{
		// 上画面主人公高さ
		ZKN2STR_Print(
			&wk->win[ZKN2_BMPWIN_SIZE_U_MY_HP], wk->mman, ZNK_HEIGHT_01,
			ZKN2STR_BMPWIN_CENTER(BMPWIN_SIZE_U_MY_HP_SX), 0,
			FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_CENTER );
		// 下画面主人公重さ
		ZKN2STR_Print(
			&wk->win[ZKN2_BMPWIN_SIZE_D_MY_WP], wk->mman, ZNK_WEIGHT_01,
			ZKN2STR_BMPWIN_CENTER(BMPWIN_SIZE_D_MY_WP_SX), 0,
			FONT_SYSTEM, FNTCOL_M01WN, ZKN2STR_PRINT_MODE_CENTER );
	}

	for( i=0; i<ZKN2_BMPWIN_SIZE_MAX; i++ ){
		GF_BGL_BmpWinOnVReq( &wk->win[i] );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細大きさ画面ＢＭＰ関連削除
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_SizePageExit( ZKN2_WORK * wk )
{
	u32	i;

	for( i=0; i<ZKN2_BMPWIN_SIZE_MAX; i++ ){
		GF_BGL_BmpWinOffVReq( &wk->win[i] );
	}
	ZKN2BMP_Exit( wk );
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細「戻る」画面ＢＭＰ初期化
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_DetailRetPageInit( ZKN2_WORK * wk )
{
	u32	i;

	BmpWinAdd( wk, DetailRetPageBmpWinData, ZKN2_BMPWIN_DRET_MAX );

	for( i=0; i<ZKN2_BMPWIN_DRET_MAX; i++ ){
		GF_BGL_BmpWinDataFill( &wk->win[i], 0 );
	}

	// 上画面タイトル
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_DRET_U_TITLE], wk->mman,
		ZNK_DETAIL_RET_TEXT_01, 0, 0, FONT_TOUCH, FNTCOL_LIST, ZKN2STR_PRINT_MODE_LEFT );

	// 下画面「戻る」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_DRET_D_END], wk->mman, ZNK_DETAIL_RET_TEXT_02,
		ZKN2STR_BMPWIN_CENTER(BMPWIN_DRET_D_END_SX), 0,
		FONT_TOUCH, FNTCOL_FORM_TD, ZKN2STR_PRINT_MODE_CENTER );

	for( i=0; i<ZKN2_BMPWIN_DRET_MAX; i++ ){
		GF_BGL_BmpWinOnVReq( &wk->win[i] );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細「戻る」画面ＢＭＰ削除
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_DetailRetPageExit( ZKN2_WORK * wk )
{
	u32	i;

	for( i=0; i<ZKN2_BMPWIN_DRET_MAX; i++ ){
		GF_BGL_BmpWinOffVReq( &wk->win[i] );
	}
	ZKN2BMP_Exit( wk );
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細姿画面ＢＭＰ初期化
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_FormPageInit( ZKN2_WORK * wk )
{
	BmpWinAdd( wk, FormPageBmpWinData, ZKN2_BMPWIN_FORM_MAX );
	ZKN2BMP_Form1PageBmpPut( wk );
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細姿画面ＢＭＰ削除
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_FormPageExit( ZKN2_WORK * wk )
{
	Form1PageBmpOff( wk );
	ZKN2BMP_Exit( wk );
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細姿画面ページ１ＢＭＰ表示
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_Form1PageBmpPut( ZKN2_WORK * wk )
{
	ZKN2BMP_FormListNamePutInit( wk );
	Form1PageDefStrPut( wk );
	ZKN2BMP_FormNamePutU1( wk );
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細姿画面フォルム名リスト表示初期化
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_FormListNamePutInit( ZKN2_WORK * wk )
{
	u32	strID;
	s32	pos;
	u32	i;

	for( i=0; i<6; i++ ){
		GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_FORM_D_FORM1+i], 0 );
		pos = wk->detail_form_pos + i - 2;
		if( pos >= 0 && pos < wk->detail_form_max ){
			strID = FormNameGet( wk, pos );
			ExStrPrint(
				wk, wk->mman, ZKN2_BMPWIN_FORM_D_FORM1+i, strID, 0, 0,
				FONT_TOUCH, FNTCOL_FORM_TD, ZKN2STR_PRINT_MODE_LEFT );
		}
		GF_BGL_BmpWinCgxOn( &wk->win[ZKN2_BMPWIN_FORM_D_FORM1+i] );
		BGWINFRM_FramePut(
			wk->wfrm, ZKN2_BGWF_DETAIL_LIST1+i,
			GF_BGL_BmpWinGet_PosX( &wk->win[ZKN2_BMPWIN_FORM_D_FORM1+i] ),
			GF_BGL_BmpWinGet_PosY( &wk->win[ZKN2_BMPWIN_FORM_D_FORM1+i] ) );
	}
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細姿画面フォルム名文字列取得
 *
 * @param	wk		図鑑画面ワーク
 * @param	pos		リスト位置
 *
 * @return	文字列ＩＤ
 */
//--------------------------------------------------------------------------------------------
static u32 FormNameGet( ZKN2_WORK * wk, u32 pos )
{
	STRBUF * str;

	switch( wk->detail_mons ){
	case MONSNO_ANNOON:		// アンノーン
		return ZNK_ZUKAN_GRAPH_07;

	case MONSNO_SIIUSI:		// シーウシ（カラナクシ）
	case MONSNO_SIIDORUGO:	// シードルゴ（トリトドン）
		return ( ZNK_ZUKAN_GRAPH_02 + ( wk->detail_form[pos] ^ ZKN2MAIN_FORM_EXTRA ) );

	case MONSNO_MINOMUTTI:	// ミノムッチ
	case MONSNO_MINOMESU:	// ミノメス（ミノマダム）
		return ( ZNK_ZUKAN_GRAPH_04 + ( wk->detail_form[pos] ^ ZKN2MAIN_FORM_EXTRA ) );

	case MONSNO_DEOKISISU:	// デオキシス
		return ( ZKN_DNA_00 + ( wk->detail_form[pos] ^ ZKN2MAIN_FORM_EXTRA ) );

	case MONSNO_EURISU:		// シェイミ
		return ( ZKN_FORMNAME_00 + ( wk->detail_form[pos] ^ ZKN2MAIN_FORM_EXTRA ) );

	case MONSNO_KIMAIRAN:	// ギラティナ
		return ( ZKN_FORMNAME_02 + ( wk->detail_form[pos] ^ ZKN2MAIN_FORM_EXTRA ) );

	case MONSNO_PURAZUMA:	// ロトム
		return ( ZKN_FORMNAME_04 + ( wk->detail_form[pos] ^ ZKN2MAIN_FORM_EXTRA ) );

	case MONSNO_POWARUN:	// ポワルン
		return ( ZKN_FORMNAME_11 + ( wk->detail_form[pos] ^ ZKN2MAIN_FORM_EXTRA ) );

	case MONSNO_THERISYU:	// チェリム
		return ( ZKN_FORMNAME_15 + ( wk->detail_form[pos] ^ ZKN2MAIN_FORM_EXTRA ) );

	case MONSNO_PITYUU:		// ピチュー
		{
			u32	form = ( wk->detail_form[pos] ^ ZKN2MAIN_FORM_EXTRA );
			if( form == 0 ){
				return ZNK_ZUKAN_GRAPH_00;
			}else if( form == 1 ){
				return ZNK_ZUKAN_GRAPH_01;
			}else{
				return ZKN_FORMNAME_17;
			}
		}
		break;

	default:
		if( wk->detail_form[pos] == ZKN2MAIN_FORM_MALE ){
			return ZNK_ZUKAN_GRAPH_00;
		}else if( wk->detail_form[pos] == ZKN2MAIN_FORM_FAMALE ){
			return ZNK_ZUKAN_GRAPH_01;
		}
	}

	str = ZKN_WT_GetPokeName( wk->detail_mons, PM_LANG, HEAPID_ZUKAN );
	WORDSET_RegisterWord( wk->wset, 0, str, PM_NEUTRAL, TRUE, PM_LANG );
	STRBUF_Delete( str );

	return ZKN_FORMNAME_10;
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細姿画面フォルム名リストスクロール設定
 *
 * @param	wk		図鑑画面ワーク
 * @param	mv		スクロール方向
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_FormNameMoveInit( ZKN2_WORK * wk, s8 mv )
{
	s32	pos;
	u32	i;
	s8	x, y;

	for( i=0; i<6; i++ ){
		BGWINFRM_PosGet( wk->wfrm, ZKN2_BGWF_DETAIL_LIST1+i, &x, &y );
		if( y == FORM1_FORMLIST_UY || y == FORM1_FORMLIST_DY ){
			break;
		}
	}

	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_FORM_D_FORM1+i], 0 );

	if( mv < 0 ){
		BGWINFRM_FramePut( wk->wfrm, ZKN2_BGWF_DETAIL_LIST1+i, BMPWIN_FORM_D_FORM1_PX, FORM1_FORMLIST_DY );
		pos = wk->detail_form_pos + 2;
		if( pos < wk->detail_form_max ){
			ExStrPrint(
				wk, wk->mman,
				ZKN2_BMPWIN_FORM_D_FORM1+i,
				FormNameGet( wk, pos ), 0, 0,
				FONT_TOUCH, FNTCOL_FORM_TD, ZKN2STR_PRINT_MODE_LEFT );
		}
	}else{
		BGWINFRM_FramePut( wk->wfrm, ZKN2_BGWF_DETAIL_LIST1+i, BMPWIN_FORM_D_FORM1_PX, FORM1_FORMLIST_UY );
		pos = wk->detail_form_pos - 2;
		if( pos >= 0 ){
			ExStrPrint(
				wk, wk->mman,
				ZKN2_BMPWIN_FORM_D_FORM1+i,
				FormNameGet( wk, pos ), 0, 0,
				FONT_TOUCH, FNTCOL_FORM_TD, ZKN2STR_PRINT_MODE_LEFT );
		}
	}

	GF_BGL_BmpWinCgxOn( &wk->win[ZKN2_BMPWIN_FORM_D_FORM1+i] );
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細姿画面ページ１のデフォルト文字列表示
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void Form1PageDefStrPut( ZKN2_WORK * wk )
{
	STRBUF * str;

	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_FORM_U_TITLE], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_FORM_D_KURABERU], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_FORM_U_NAME], 0 );

	// 上画面「すがた」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_FORM_U_TITLE], wk->mman,
		ZNK_SHAPE_TEXT_04, 0, 0, FONT_TOUCH, FNTCOL_LIST, ZKN2STR_PRINT_MODE_LEFT );
	// 下画面「みくらべる」
	if( wk->detail_form_max != 1 ){
		ZKN2STR_Print(
			&wk->win[ZKN2_BMPWIN_FORM_D_KURABERU], wk->mman,
			ZNK_SHAPE_TEXT_02, 0, 0, FONT_TOUCH, FNTCOL_FORM_TD, ZKN2STR_PRINT_MODE_LEFT );
	}
	// 詳細・姿ページ：上画面名前
	str = ZKN_WT_GetPokeName( wk->detail_mons, PM_LANG, HEAPID_ZUKAN );
	WORDSET_RegisterWord( wk->wset, 0, str, PM_NEUTRAL, TRUE, PM_LANG );
	STRBUF_Delete( str );
	ExStrPrint(
		wk, wk->mman, ZKN2_BMPWIN_FORM_U_NAME, ZNK_SHAPE_TEXT_01,
		BMPWIN_FORM_U_NAME_SX*8, 0, FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_RIGHT );

	GF_BGL_BmpWinOnVReq( &wk->win[ZKN2_BMPWIN_FORM_U_TITLE] );
	GF_BGL_BmpWinOnVReq( &wk->win[ZKN2_BMPWIN_FORM_D_KURABERU] );
	GF_BGL_BmpWinOnVReq( &wk->win[ZKN2_BMPWIN_FORM_U_NAME] );
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細姿画面ページ１の上画面フォルム名表示
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_FormNamePutU1( ZKN2_WORK * wk )
{
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_FORM_U_FORM], 0 );

	ExStrPrint(
		wk, wk->mman,
		ZKN2_BMPWIN_FORM_U_FORM,
		FormNameGet( wk, wk->detail_form_pos ),
		ZKN2STR_BMPWIN_CENTER(BMPWIN_FORM_U_FORM_SX), 0,
		FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_CENTER );

	GF_BGL_BmpWinOnVReq( &wk->win[ZKN2_BMPWIN_FORM_U_FORM] );
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細姿画面ページ１のＢＭＰ非表示
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
static void Form1PageBmpOff( ZKN2_WORK * wk )
{
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_FORM_U_TITLE] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_FORM_U_NAME] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_FORM_U_FORM] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_FORM_D_KURABERU] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_FORM_D_FORM1] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_FORM_D_FORM2] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_FORM_D_FORM3] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_FORM_D_FORM4] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_FORM_D_FORM5] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_FORM_D_FORM6] );
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細姿画面ページ２のＢＭＰ表示
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_Form2PageBmpPut( ZKN2_WORK * wk )
{
	STRBUF * str;

	Form1PageBmpOff( wk );

	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_FORM_U_TITLE], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_FORM_U_KURABERU], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_FORM_D_SUGATA], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_FORM_D_CHANGE], 0 );
	GF_BGL_BmpWinDataFill( &wk->win[ZKN2_BMPWIN_FORM_D_RET], 0 );

	// 上画面「すがた」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_FORM_U_TITLE], wk->mman,
		ZNK_SHAPE_TEXT_04, 0, 0, FONT_TOUCH, FNTCOL_LIST, ZKN2STR_PRINT_MODE_LEFT );

	// 上画面「〜を　みくらべる」
	str = ZKN_WT_GetPokeName( wk->detail_mons, PM_LANG, HEAPID_ZUKAN );
	WORDSET_RegisterWord( wk->wset, 0, str, PM_NEUTRAL, TRUE, PM_LANG );
	STRBUF_Delete( str );
	ExStrPrint(
		wk, wk->mman, ZKN2_BMPWIN_FORM_U_KURABERU, ZNK_SHAPE_TEXT_03,
		ZKN2STR_BMPWIN_CENTER(BMPWIN_FORM_U_KURABERU_SX), 0,
		FONT_SYSTEM, FNTCOL_LIST, ZKN2STR_PRINT_MODE_CENTER );

	// 下画面「すがた」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_FORM_D_SUGATA], wk->mman, ZNK_SHAPE_TEXT_04,
		ZKN2STR_BMPWIN_CENTER(BMPWIN_FORM_D_SUGATA_SX), 0,
		FONT_SYSTEM, FNTCOL_M01BN, ZKN2STR_PRINT_MODE_CENTER );

	// 下画面「きりかえる」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_FORM_D_CHANGE], wk->mman, ZNK_SHAPE_TEXT_05,
		ZKN2STR_BMPWIN_CENTER(BMPWIN_FORM_D_CHANGE_SX), 4,
		FONT_TOUCH, FNTCOL_FORM_TD, ZKN2STR_PRINT_MODE_CENTER );

	// 下画面「もどる」
	ZKN2STR_Print(
		&wk->win[ZKN2_BMPWIN_FORM_D_RET], wk->mman, ZNK_SHAPE_TEXT_06,
		ZKN2STR_BMPWIN_CENTER(BMPWIN_FORM_D_RET_SX), 4,
		FONT_TOUCH, FNTCOL_FORM_TD, ZKN2STR_PRINT_MODE_CENTER );

	GF_BGL_BmpWinOnVReq( &wk->win[ZKN2_BMPWIN_FORM_U_TITLE] );
	GF_BGL_BmpWinOnVReq( &wk->win[ZKN2_BMPWIN_FORM_U_KURABERU] );
	GF_BGL_BmpWinOnVReq( &wk->win[ZKN2_BMPWIN_FORM_D_SUGATA] );
	GF_BGL_BmpWinOnVReq( &wk->win[ZKN2_BMPWIN_FORM_D_CHANGE] );
	GF_BGL_BmpWinOnVReq( &wk->win[ZKN2_BMPWIN_FORM_D_RET] );

	ZKN2BMP_Form2FormNamePut( wk, ZKN2_BMPWIN_FORM_D_FORM_L, wk->detail_form_pos );
	ZKN2BMP_Form2FormNamePut( wk, ZKN2_BMPWIN_FORM_D_FORM_R, wk->detail_form_pos2 );
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細姿画面ページ２のＢＭＰ非表示
 *
 * @param	wk		図鑑画面ワーク
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_Form2PageBmpOff( ZKN2_WORK * wk )
{
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_FORM_U_TITLE] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_FORM_U_KURABERU] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_FORM_D_SUGATA] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_FORM_D_CHANGE] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_FORM_D_RET] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_FORM_D_FORM_L] );
	GF_BGL_BmpWinOffVReq( &wk->win[ZKN2_BMPWIN_FORM_D_FORM_R] );
}

//--------------------------------------------------------------------------------------------
/**
 * 詳細姿画面ページ２のフォルム名表示
 *
 * @param	wk		図鑑画面ワーク
 * @param	winID	BMPWIN ID
 * @param	pos		リスト位置
 *
 * @return	none
 */
//--------------------------------------------------------------------------------------------
void ZKN2BMP_Form2FormNamePut( ZKN2_WORK * wk, u32 winID, s8 pos )
{
	GF_BGL_BmpWinDataFill( &wk->win[winID], 0 );

	ExStrPrint(
		wk, wk->mman,
		winID, FormNameGet( wk, pos ),
		ZKN2STR_BMPWIN_CENTER(GF_BGL_BmpWinGet_SizeX(&wk->win[winID])), 0,
		FONT_SYSTEM, FNTCOL_M01BN, ZKN2STR_PRINT_MODE_CENTER );

	GF_BGL_BmpWinOnVReq( &wk->win[winID] );
}